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} | |
13 | ${Boost_LIBRARIES} | |
14 | ) | |
15 | ||
16 | # cmake: invocation via "make test" | |
17 | add_test(test_hoststatus test_hoststatus) |