1 # compiler: creates the binaries
2 add_executable(test_pingprotocol
4 ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
5 ${CMAKE_SOURCE_DIR}/src/host/pingprotocol.cpp
8 # linker: link the program against the libraries
11 ${I2NCOMMON_LIBRARIES}
12 Boost::unit_test_framework
14 Boost::program_options
20 # cmake: invocation via "make test"
21 add_test(test_pingprotocol test_pingprotocol)