Commit | Line | Data |
---|---|---|
c5db9dfd GMF |
1 | # compiler: creates the binaries |
2 | add_executable(test_linkstatus | |
3 | test_linkstatus | |
780b0bca | 4 | ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp |
c5db9dfd | 5 | ${CMAKE_SOURCE_DIR}/src/link/linkstatus.cpp |
e638894d CH |
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 | |
c5db9dfd GMF |
15 | ) |
16 | ||
17 | # linker: link the program against the libraries | |
18 | target_link_libraries( | |
19 | test_linkstatus | |
20 | ${I2NCOMMON_LIBRARIES} | |
21 | ${Boost_LIBRARIES} | |
22 | ) | |
23 | ||
24 | # cmake: invocation via "make test" | |
25 | add_test(test_linkstatus test_linkstatus) |