3f69afe3d6e02587abb49348b52870e8d546720b
[pingcheck] / test / CMakeLists.test_tcpheader.txt
1 # compiler: creates the binaries
2 add_executable(test_tcpheader
3     test_tcpheader.cpp
4     ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
5     ${CMAKE_SOURCE_DIR}/src/tcp/tcpheader.cpp
6     ${CMAKE_SOURCE_DIR}/src/host/messagepayload.cpp
7 )
8
9 # linker: link the program against the libraries
10 target_link_libraries(
11     test_tcpheader
12     ${I2NCOMMON_LIBRARIES}
13     ${Boost_LIBRARIES}
14 )
15
16 # cmake: invocation via "make test"
17 add_test(test_tcpheader test_tcpheader)