Debian Codegraph @

tests/probes/xinetd/CMakeLists.txt

raw
1 if(ENABLE_PROBES_UNIX)
2 add_oscap_test_executable(test_probe_xinetd
3 "test_probe_xinetd.c"
4 "${CMAKE_SOURCE_DIR}/src/common/bfind.c"
5 "${CMAKE_SOURCE_DIR}/src/OVAL/probes/SEAP/generic/rbt/rbt_common.c"
6 "${CMAKE_SOURCE_DIR}/src/OVAL/probes/SEAP/generic/rbt/rbt_str.c"
7 "${CMAKE_SOURCE_DIR}/src/common/oscap_pcre.c"
8 )
9 target_link_libraries(test_probe_xinetd openscap)
10 target_include_directories(test_probe_xinetd PUBLIC
11 "${CMAKE_SOURCE_DIR}/src/OVAL/probes"
12 "${CMAKE_SOURCE_DIR}/src/OVAL/probes/public"
13 "${CMAKE_SOURCE_DIR}/src/OVAL/probes/SEAP/generic/rbt"
14 "${CMAKE_SOURCE_DIR}/src/common"
15 )
16 add_oscap_test("test_xinetd_probe.sh")
17 endif()