1 # compiler: creates the binaries
2 add_executable(test_linkstatus
4 ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
5 ${CMAKE_SOURCE_DIR}/src/link/linkstatus.cpp
6 ${CMAKE_SOURCE_DIR}/src/dns/hostaddress.cpp
7 ${CMAKE_SOURCE_DIR}/src/dns/timetolive.cpp
8 ${CMAKE_SOURCE_DIR}/src/host/pinger.cpp
9 ${CMAKE_SOURCE_DIR}/src/host/pingprotocol.cpp
10 ${CMAKE_SOURCE_DIR}/src/dns/dnsipprotocol.cpp
11 ${CMAKE_SOURCE_DIR}/src/dns/dnscache.cpp
12 ${CMAKE_SOURCE_DIR}/src/dns/resolverbase.cpp
13 ${CMAKE_SOURCE_DIR}/src/dns/dnsresolver.cpp
14 ${CMAKE_SOURCE_DIR}/src/dns/dnsmaster.cpp
17 # linker: link the program against the libraries
18 target_link_libraries(
20 ${I2NCOMMON_LIBRARIES}
24 # cmake: invocation via "make test"
25 add_test(test_linkstatus test_linkstatus)