diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-04-28 19:37:25 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-04-28 19:37:25 +0000 |
commit | 17b84104f236db19bca72c5afca5df0cd49abae1 (patch) | |
tree | 496dd0a0065ddbf29fa8ae5d6454737eea695e3f /cmake/dbus/CMakeLists.txt | |
parent | c85da0358009d318553506b94f4b24eb8783b6f9 (diff) |
* cmake/: don't install test applications and service files, moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt
Diffstat (limited to 'cmake/dbus/CMakeLists.txt')
-rw-r--r-- | cmake/dbus/CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt index 4957b13c..68ec4f05 100644 --- a/cmake/dbus/CMakeLists.txt +++ b/cmake/dbus/CMakeLists.txt @@ -205,7 +205,6 @@ set(libdbus_HEADERS ${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 @@ install_files(/include/dbus FILES ${dbusinclude_HEADERS}) 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) |