summaryrefslogtreecommitdiffstats
path: root/cmake/bus-test.bat.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-03-03 14:32:17 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-03-03 14:32:17 +0000
commit36ebfd411b358fb4797d31d23f945e8f6844d15a (patch)
tree9c8982d1da82fdffea8d2a741dba82e927874869 /cmake/bus-test.bat.cmake
parent4ceb86d29a68ebe52b20c8c090bc90c68a58f8c8 (diff)
* cmake: new directory, contains cmake build support.
See http://www.cmake.org for more informations. Currently only unix will be buildable because some win32 required files are still missing.
Diffstat (limited to 'cmake/bus-test.bat.cmake')
-rw-r--r--cmake/bus-test.bat.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/bus-test.bat.cmake b/cmake/bus-test.bat.cmake
new file mode 100644
index 00000000..01688713
--- /dev/null
+++ b/cmake/bus-test.bat.cmake
@@ -0,0 +1,14 @@
+:: bus-test wrapper
+@echo off
+
+:: session bus address
+set DBUS_STARTER_BUS=tcp:host=localhost,port=1234
+
+if NOT "%1" == "" (
+ SET DATADIR=%1
+) else (
+ SET DATADIR=test\data
+)
+
+bin\bus-test.exe test\data
+