* cmake/: don't install test applications and service files, moved CMAKE_DEBUG_POSTFI...
[platform/upstream/dbus.git] / cmake / test / name-test / CMakeLists.txt
1 if (DBUS_BUILD_TESTS)
2
3 set (NAMEtest-DIR ../../../test/name-test)
4
5 include_directories( ${CMAKE_SOURCE_DIR}/.. )
6 include_directories( ${CMAKE_INCLUDE_PATH} )
7 add_definitions(-DDBUS_COMPILATION)
8
9 # there is also a test-names executable, don't know if this is the same
10 add_executable(test-names1 ${NAMEtest-DIR}/test-names.c)
11 target_link_libraries(test-names1 dbus-1)
12 #install_targets(/bin test-names1)
13 ADD_TEST(test-names ${EXECUTABLE_OUTPUT_PATH}/test-names1)
14
15 add_executable(test-pending-call-dispatch ${NAMEtest-DIR}/test-pending-call-dispatch.c)
16 target_link_libraries(test-pending-call-dispatch dbus-1)
17 #install_targets(/bin test-pending-call-dispatch)
18 ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending_call-dispatch)
19
20 add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c)
21 target_link_libraries(test-thread-init dbus-1)
22 #install_targets(/bin test-thread-init)
23 ADD_TEST(test-names ${EXECUTABLE_OUTPUT_PATH}/test-thread-init)
24
25 endif (DBUS_BUILD_TESTS)