dbus/cmake/dbus CMakeLists.txt,1.4,1.5

Ralf Habacker rhabacker at kemper.freedesktop.org
Thu Apr 26 02:30:40 PDT 2007


Update of /cvs/dbus/dbus/cmake/dbus
In directory kemper:/tmp/cvs-serv31939/cmake/dbus

Modified Files:
	CMakeLists.txt 
Log Message:
* cmake: added debug postfixes to debug exe's for easier debugging.
* dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): print error code in case no string message is available.

Index: CMakeLists.txt
===================================================================
RCS file: /cvs/dbus/dbus/cmake/dbus/CMakeLists.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CMakeLists.txt	25 Mar 2007 19:28:05 -0000	1.4
+++ CMakeLists.txt	26 Apr 2007 09:30:38 -0000	1.5
@@ -234,10 +234,10 @@
 
 if (DBUS_BUILD_TESTS)
 	set (TESTS_ENVIRONMENT "DBUS_TEST_DATA=${CMAKE_SOURCE_DIR}/test/data DBUS_TEST_HOMEDIR=${CMAKE_BUILD_DIR}/dbus")
-	ADD_EXECUTABLE(dbus-test  ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c)
-	target_link_libraries(dbus-test dbus-1 ${LIBS})
-	add_test(dbus-test ${EXECUTABLE_OUTPUT_PATH}/dbus-test ${CMAKE_SOURCE_DIR}/../test/data)
-	install_targets(/bin dbus-test)
+	ADD_EXECUTABLE(dbus-test${CMAKE_EXE_POSTFIX}  ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c)
+	target_link_libraries(dbus-test${CMAKE_EXE_POSTFIX} dbus-1 ${LIBS})
+	add_test(dbus-test${CMAKE_EXE_POSTFIX} ${EXECUTABLE_OUTPUT_PATH}/dbus-test ${CMAKE_SOURCE_DIR}/../test/data)
+	install_targets(/bin dbus-test${CMAKE_EXE_POSTFIX})
 ENDIF (DBUS_BUILD_TESTS)
 
 if (UNIX)



More information about the dbus-commit mailing list