Commit | Line | Data |
---|---|---|
c5c55889 GMF |
1 | # compiler: creates the binaries |
2 | add_executable(test_pingprotocol | |
3 | test_pingprotocol.cpp | |
780b0bca | 4 | ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp |
c5c55889 GMF |
5 | ${CMAKE_SOURCE_DIR}/src/host/pingprotocol.cpp |
6 | ) | |
7 | ||
8 | # linker: link the program against the libraries | |
9 | target_link_libraries( | |
10 | test_pingprotocol | |
11 | ${I2NCOMMON_LIBRARIES} | |
60dcabeb L |
12 | Boost::unit_test_framework |
13 | Boost::system | |
14 | Boost::program_options | |
15 | Boost::date_time | |
16 | Boost::serialization | |
ed146945 | 17 | pthread |
c5c55889 GMF |
18 | ) |
19 | ||
20 | # cmake: invocation via "make test" | |
21 | add_test(test_pingprotocol test_pingprotocol) |