3c4d2a08ab822f727aa96a60fdd1b7a2ca6dfaef
[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 add_definitions(-DDBUS_COMPILATION)
6
7 # there is also a test-names executable, don't know if this is the same
8 add_executable(test-names2 ${NAMEtest-DIR}/test-names.c)
9 target_link_libraries(test-names2 ${DBUS_LIBRARIES})
10 ADD_TEST(test-names2 ${EXECUTABLE_OUTPUT_PATH}/test-names2)
11
12 add_executable(test-pending-call-dispatch ${NAMEtest-DIR}/test-pending-call-dispatch.c)
13 target_link_libraries(test-pending-call-dispatch ${DBUS_LIBRARIES})
14 #install_targets(/bin test-pending-call-dispatch)
15 ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-dispatch)
16
17 add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c)
18 target_link_libraries(test-thread-init ${DBUS_LIBRARIES})
19 #install_targets(/bin test-thread-init)
20 ADD_TEST(test-thread-init ${EXECUTABLE_OUTPUT_PATH}/test-thread-init)
21
22 endif (DBUS_BUILD_TESTS)