summaryrefslogtreecommitdiff
path: root/cmake/config.h.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2010-04-09 23:34:28 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2010-04-11 11:49:46 +0200
commit0ed7d779b784f30ff9781c0ad47a03af199531a6 (patch)
tree462c95dc95a4e6507d34bf18cfd3a962d68b8ed1 /cmake/config.h.cmake
parent2279457cbcf5064703647ba3f790445cb1803a79 (diff)
downloaddbus-0ed7d779b784f30ff9781c0ad47a03af199531a6.tar.gz
Cmake support for cross plattform usable test files.
Recent test configuration files contains 'unix:...' bus adresses which do not work on windows. For cross plattform usable test files the whole listen tag entry has to be set by the build system, which is available with a new build system variable named TEST_LISTEN. To have the client client side definition in sync, TEST_CONNECTION has been moved from c file into cmake build system.
Diffstat (limited to 'cmake/config.h.cmake')
-rw-r--r--cmake/config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 2313dd2c..a4aae423 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -26,6 +26,9 @@
#define VERSION DBUS_VERSION_STRING
+#define TEST_LISTEN "@TEST_LISTEN@"
+#define TEST_CONNECTION "@TEST_CONNECTION@"
+
// test binaries
/* Full path to test file test/test-exit in builddir */
#define TEST_BUS_BINARY "@TEST_BUS_BINARY@"