client_wrapper.hxx, socket_wrapper.hxx: reorder member initialization order
[libt2n] / test / CMakeLists.txt
CommitLineData
ab2a4234
KK
1# Sources
2set(test_SOURCES
3 newserver.cpp
4 callback.cpp
5 cmdgroup.cpp
6 comm.cpp
7 hello.cpp
8 reconnect.cpp
9 reentrant.cpp
10 serialize.cpp
11 simplecmd.cpp
12 timeout.cpp
13 wrapper.cpp
1fdd03d2 14 getsocket.cpp
ab2a4234
KK
15 test_fixtures.hxx
16)
17include_directories(BEFORE
18 ${CMAKE_SOURCE_DIR}/src
19 ${CMAKE_CURRENT_SOURCE_DIR}
20)
21
22# Executables
23add_executable(test ${test_SOURCES})
24
25# Dependencies
26target_link_libraries(test libt2n ${Boost_SERIALIZATION_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
27
28# Tests
29add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS test)
30enable_testing()
31add_test(test test)