1 # compiler: creates the binaries
2 add_executable(test_icmpv6header
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
16 # linker: link the program against the libraries
17 target_link_libraries(
19 ${I2NCOMMON_LIBRARIES}
24 # cmake: invocation via "make test"
25 add_test(test_icmpv6header test_icmpv6header)