commented bits cleanup
[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 ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-dispatch)
15
16 add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c)
17 target_link_libraries(test-thread-init ${DBUS_LIBRARIES})
18 ADD_TEST(test-thread-init ${EXECUTABLE_OUTPUT_PATH}/test-thread-init)
19
20 endif (DBUS_BUILD_TESTS)