Commit | Line | Data |
---|---|---|
33695392 GMF |
1 | # compiler: creates the binaries |
2 | add_executable(test_configurationoptions | |
3 | test_configurationoptions.cpp | |
780b0bca | 4 | ${CMAKE_SOURCE_DIR}/src/boost_assert_handler.cpp |
33695392 GMF |
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 | |
504adbea | 16 | ${CMAKE_SOURCE_DIR}/src/config/option/hostsourcenetworkinterfaceoption.cpp |
33695392 GMF |
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 | |
2c40f493 | 20 | ${CMAKE_SOURCE_DIR}/src/config/option/logleveloption.cpp |
e3c7d9ac | 21 | ${CMAKE_SOURCE_DIR}/src/config/option/logoutputoption.cpp |
fda777ea | 22 | ${CMAKE_SOURCE_DIR}/src/config/option/logfileoption.cpp |
33695392 GMF |
23 | ${CMAKE_SOURCE_DIR}/src/config/option/nameserveroption.cpp |
24 | ${CMAKE_SOURCE_DIR}/src/config/option/pingfaillimitoption.cpp | |
25 | ${CMAKE_SOURCE_DIR}/src/config/option/sourcenetworkinterfaceoption.cpp | |
26 | ${CMAKE_SOURCE_DIR}/src/config/option/statusnotifiercmdoption.cpp | |
27 | ${CMAKE_SOURCE_DIR}/src/config/option/versionoption.cpp | |
096b06ef | 28 | ${CMAKE_SOURCE_DIR}/src/config/option/ratiorandomhostsoption.cpp |
079d19ab CH |
29 | ${CMAKE_SOURCE_DIR}/src/config/option/pingreplytimeoutoption.cpp |
30 | ${CMAKE_SOURCE_DIR}/src/config/option/maxaddressresolutionattemptsoption.cpp | |
31 | ${CMAKE_SOURCE_DIR}/src/config/option/resolvedipttlthresholdoption.cpp | |
f833126b | 32 | ${CMAKE_SOURCE_DIR}/src/config/option/mintimebetweenresolvesoption.cpp |
c5b4902d | 33 | ${CMAKE_SOURCE_DIR}/src/config/option/dnscachefileoption.cpp |
2c40f493 | 34 | ${CMAKE_SOURCE_DIR}/src/host/loglevel.cpp |
e3c7d9ac | 35 | ${CMAKE_SOURCE_DIR}/src/host/logoutput.cpp |
33695392 GMF |
36 | ${CMAKE_SOURCE_DIR}/src/host/pingprotocol.cpp |
37 | ) | |
38 | ||
39 | # linker: link the program against the libraries | |
40 | target_link_libraries( | |
41 | test_configurationoptions | |
42 | ${I2NCOMMON_LIBRARIES} | |
43 | ${Boost_LIBRARIES} | |
ed146945 | 44 | pthread |
33695392 GMF |
45 | ) |
46 | ||
47 | # cmake: invocation via "make test" | |
48 | add_test(test_configurationoptions test_configurationoptions) |