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