5a5a7874c24d143b08de98c39b222bc39481b54c
[pingcheck] / test / CMakeLists.test_icmpv6header.txt
1 # compiler: creates the binaries
2 add_executable(test_icmpv6header
3     test_icmpv6header.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/ip/ipv6header.cpp
8     ${CMAKE_SOURCE_DIR}/src/icmp/icmpdata.cpp
9     ${CMAKE_SOURCE_DIR}/src/icmp/icmpdata_pingfailreply.cpp
10     ${CMAKE_SOURCE_DIR}/src/icmp/icmpechodata.cpp
11     ${CMAKE_SOURCE_DIR}/src/icmp/icmpdestinationunreachabledata.cpp
12     ${CMAKE_SOURCE_DIR}/src/icmp/icmpheader.cpp
13     ${CMAKE_SOURCE_DIR}/src/host/messagepayload.cpp
14 )
15
16 # linker: link the program against the libraries
17 target_link_libraries(
18     test_icmpv6header
19     ${I2NCOMMON_LIBRARIES}
20     ${Boost_LIBRARIES}
21 )
22
23 # cmake: invocation via "make test"
24 add_test(test_icmpv6header test_icmpv6header)