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

Ralf Habacker rhabacker at kemper.freedesktop.org
Sat Apr 28 12:37:27 PDT 2007


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

Modified Files:
	CMakeLists.txt 
Log Message:
* cmake/: don't install test applications and service files, moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt

Index: CMakeLists.txt
===================================================================
RCS file: /cvs/dbus/dbus/cmake/dbus/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CMakeLists.txt	26 Apr 2007 09:30:38 -0000	1.5
+++ CMakeLists.txt	28 Apr 2007 19:37:25 -0000	1.6
@@ -205,7 +205,6 @@
 	${DBUS_UTIL_HEADERS}
 )
 
-set(CMAKE_DEBUG_POSTFIX "d")
 if(MSVC)
 	add_library(dbus-1 STATIC ${libdbus_SOURCES} ${libdbus_HEADERS} )
 	project_source_group(${GROUP_CODE} libdbus_SOURCES libdbus_HEADERS)
@@ -234,10 +233,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_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})
+	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)
 ENDIF (DBUS_BUILD_TESTS)
 
 if (UNIX)



More information about the dbus-commit mailing list