Commit | Line | Data |
---|---|---|
a72f06b6 GMF |
1 | # compiler: creates the binaries |
2 | add_executable(test_icmpv4header | |
3 | test_icmpv4header.cpp | |
780b0bca | 4 | ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp |
81c26517 CH |
5 | ${CMAKE_SOURCE_DIR}/src/ip/ipheader.cpp |
6 | ${CMAKE_SOURCE_DIR}/src/ip/ipv4header.cpp | |
7 | ${CMAKE_SOURCE_DIR}/src/ip/ipv6header.cpp | |
39d326f2 | 8 | ${CMAKE_SOURCE_DIR}/src/icmp/icmpdata.cpp |
15023b99 | 9 | ${CMAKE_SOURCE_DIR}/src/icmp/icmpdata_pingfailreply.cpp |
0ba8adc0 CH |
10 | ${CMAKE_SOURCE_DIR}/src/icmp/icmpechodata.cpp |
11 | ${CMAKE_SOURCE_DIR}/src/icmp/icmpdestinationunreachabledata.cpp | |
39d326f2 | 12 | ${CMAKE_SOURCE_DIR}/src/icmp/icmpheader.cpp |
a72f06b6 GMF |
13 | ${CMAKE_SOURCE_DIR}/src/host/messagepayload.cpp |
14 | ) | |
15 | ||
16 | # linker: link the program against the libraries | |
17 | target_link_libraries( | |
18 | test_icmpv4header | |
19 | ${I2NCOMMON_LIBRARIES} | |
20 | ${Boost_LIBRARIES} | |
ed146945 | 21 | pthread |
a72f06b6 GMF |
22 | ) |
23 | ||
24 | # cmake: invocation via "make test" | |
25 | add_test(test_icmpv4header test_icmpv4header) |