09985efbef2a7b9b5327be641dce6af47197c5bb
[pingcheck] / test / CMakeLists.test_ipv4header.txt
1 # compiler: creates the binaries
2 add_executable(test_ipv4header
3     test_ipv4header.cpp
4     ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
5     ${CMAKE_SOURCE_DIR}/src/ip/ipheader.cpp
6     ${CMAKE_SOURCE_DIR}/src/ip/ipv4header.cpp
7     ${CMAKE_SOURCE_DIR}/src/host/messagepayload.cpp
8 )
9
10 # linker: link the program against the libraries
11 target_link_libraries(
12     test_ipv4header
13     ${I2NCOMMON_LIBRARIES}
14     Boost::unit_test_framework
15     Boost::system
16     Boost::program_options
17     Boost::date_time
18     Boost::serialization
19     pthread
20 )
21
22 # cmake: invocation via "make test"
23 add_test(test_ipv4header test_ipv4header)