1 # compiler: creates the binaries
2 add_executable(test_ipv4header
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
10 # linker: link the program against the libraries
11 target_link_libraries(
13 ${I2NCOMMON_LIBRARIES}
18 # cmake: invocation via "make test"
19 add_test(test_ipv4header test_ipv4header)