65ac76cd6aac84a0b40aa06dae4790d01671f718
[pingcheck] / test / CMakeLists.test_configurationoptions.txt
1 # compiler: creates the binaries
2 add_executable(test_configurationoptions
3     test_configurationoptions.cpp
4     ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp
5     ${CMAKE_SOURCE_DIR}/src/config/configurationoptions.cpp
6     ${CMAKE_SOURCE_DIR}/src/config/configuration.cpp
7     ${CMAKE_SOURCE_DIR}/src/config/host.cpp
8     ${CMAKE_SOURCE_DIR}/src/config/option/daemonoption.cpp
9     ${CMAKE_SOURCE_DIR}/src/config/option/configfileoption.cpp
10     ${CMAKE_SOURCE_DIR}/src/config/option/configurationoption.cpp
11     ${CMAKE_SOURCE_DIR}/src/config/option/hostconfigurationoption.cpp
12     ${CMAKE_SOURCE_DIR}/src/config/option/hostpingintervaloption.cpp
13     ${CMAKE_SOURCE_DIR}/src/config/option/hostpingprotocoloption.cpp
14     ${CMAKE_SOURCE_DIR}/src/config/option/hostportoption.cpp
15     ${CMAKE_SOURCE_DIR}/src/config/option/hostnameoption.cpp
16     ${CMAKE_SOURCE_DIR}/src/config/option/hostsourcenetworkinterfaceoption.cpp
17     ${CMAKE_SOURCE_DIR}/src/config/option/hostsdownlimitoption.cpp
18     ${CMAKE_SOURCE_DIR}/src/config/option/linkdownintervaloption.cpp
19     ${CMAKE_SOURCE_DIR}/src/config/option/linkupintervaloption.cpp
20     ${CMAKE_SOURCE_DIR}/src/config/option/logleveloption.cpp
21     ${CMAKE_SOURCE_DIR}/src/config/option/logoutputoption.cpp
22     ${CMAKE_SOURCE_DIR}/src/config/option/nameserveroption.cpp
23     ${CMAKE_SOURCE_DIR}/src/config/option/pingfaillimitoption.cpp
24     ${CMAKE_SOURCE_DIR}/src/config/option/sourcenetworkinterfaceoption.cpp
25     ${CMAKE_SOURCE_DIR}/src/config/option/statusnotifiercmdoption.cpp
26     ${CMAKE_SOURCE_DIR}/src/config/option/versionoption.cpp
27     ${CMAKE_SOURCE_DIR}/src/config/option/ratiorandomhostsoption.cpp
28     ${CMAKE_SOURCE_DIR}/src/config/option/pingreplytimeoutoption.cpp
29     ${CMAKE_SOURCE_DIR}/src/config/option/maxaddressresolutionattemptsoption.cpp
30     ${CMAKE_SOURCE_DIR}/src/config/option/resolvedipttlthresholdoption.cpp
31     ${CMAKE_SOURCE_DIR}/src/config/option/dnscachefileoption.cpp
32     ${CMAKE_SOURCE_DIR}/src/host/loglevel.cpp
33     ${CMAKE_SOURCE_DIR}/src/host/logoutput.cpp
34     ${CMAKE_SOURCE_DIR}/src/host/pingprotocol.cpp
35 )
36
37 # linker: link the program against the libraries
38 target_link_libraries(
39     test_configurationoptions
40     ${I2NCOMMON_LIBRARIES}
41     ${Boost_LIBRARIES}
42 )
43
44 # cmake: invocation via "make test"
45 add_test(test_configurationoptions test_configurationoptions)