dbus/cmake/bus CMakeLists.txt,1.2,1.3
Ralf Habacker
rhabacker at kemper.freedesktop.org
Thu Apr 26 02:30:40 PDT 2007
Update of /cvs/dbus/dbus/cmake/bus
In directory kemper:/tmp/cvs-serv31939/cmake/bus
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/bus/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CMakeLists.txt 6 Mar 2007 20:51:02 -0000 1.2
+++ CMakeLists.txt 26 Apr 2007 09:30:38 -0000 1.3
@@ -82,9 +82,9 @@
include_directories(${XML_INCLUDE_DIR})
SET (LIBS ${XML_LIBRARY})
-add_executable(dbus-daemon ${dbus_daemon_SOURCES})
-target_link_libraries(dbus-daemon dbus-1 ${LIBS})
-install_targets(/bin dbus-daemon )
+add_executable(dbus-daemon${CMAKE_EXE_POSTFIX} ${dbus_daemon_SOURCES})
+target_link_libraries(dbus-daemon${CMAKE_EXE_POSTFIX} dbus-1 ${LIBS})
+install_targets(/bin dbus-daemon${CMAKE_EXE_POSTFIX} )
install_files(/etc FILES ${config_DATA})
if (DBUS_SERVICE)
@@ -95,9 +95,9 @@
# ${BUS_SOURCES}
)
- add_executable(dbus-service ${dbus_service_SOURCES} )
- target_link_libraries(dbus-service dbus-1 ${LIBS})
- install_targets(/bin dbus-service )
+ add_executable(dbus-service${CMAKE_EXE_POSTFIX} ${dbus_service_SOURCES} )
+ target_link_libraries(dbus-service${CMAKE_EXE_POSTFIX} dbus-1 ${LIBS})
+ install_targets(/bin dbus-service${CMAKE_EXE_POSTFIX} )
endif (DBUS_SERVICE)
@@ -121,10 +121,10 @@
)
if (DBUS_BUILD_TESTS)
- add_executable(bus-test ${bus_test_SOURCES})
- target_link_libraries(bus-test dbus-1 ${LIBS} )
- install_targets(/bin bus-test)
- add_test(bus-test ${EXECUTABLE_OUTPUT_PATH}/bus-test ${CMAKE_SOURCE_DIR}/../test/data)
+ add_executable(bus-test${CMAKE_EXE_POSTFIX} ${bus_test_SOURCES})
+ target_link_libraries(bus-test${CMAKE_EXE_POSTFIX} dbus-1 ${LIBS} )
+ install_targets(/bin bus-test${CMAKE_EXE_POSTFIX})
+ add_test(bus-test ${EXECUTABLE_OUTPUT_PATH}/bus-test${CMAKE_EXE_POSTFIX} ${CMAKE_SOURCE_DIR}/../test/data)
endif (DBUS_BUILD_TESTS)
if(MSVC)
More information about the dbus-commit
mailing list