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