Update pingcheck to work with cmake 3.28
[pingcheck] / test / CMakeLists.test_ipv4header.txt
... / ...
CommitLineData
1# compiler: creates the binaries
2add_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
11target_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"
23add_test(test_ipv4header test_ipv4header)