Update pingcheck to work with cmake 3.28
[pingcheck] / test / CMakeLists.test_ipv4header.txt
CommitLineData
a72f06b6
GMF
1# compiler: creates the binaries
2add_executable(test_ipv4header
3 test_ipv4header.cpp
780b0bca 4 ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
d0c85dd8 5 ${CMAKE_SOURCE_DIR}/src/ip/ipheader.cpp
a72f06b6
GMF
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}
60dcabeb
L
14 Boost::unit_test_framework
15 Boost::system
16 Boost::program_options
17 Boost::date_time
18 Boost::serialization
ed146945 19 pthread
a72f06b6
GMF
20)
21
22# cmake: invocation via "make test"
23add_test(test_ipv4header test_ipv4header)