Debian Codegraph @

src/OVAL/probes/windows/CMakeLists.txt

raw
1 if(OPENSCAP_PROBE_WINDOWS_ACCESSTOKEN)
2 list(APPEND WINDOWS_PROBES_SOURCES
3 "accesstoken_probe.c"
4 "accesstoken_probe.h"
5 )
6 endif()
7 if(OPENSCAP_PROBE_WINDOWS_REGISTRY)
8 list(APPEND WINDOWS_PROBES_SOURCES
9 "registry_probe.c"
10 "registry_probe.h"
11 )
12 endif()
13 if(OPENSCAP_PROBE_WINDOWS_WMI57)
14 list(APPEND WINDOWS_PROBES_SOURCES
15 "wmi57_probe.c"
16 "wmi57_probe.h"
17 )
18 endif()
19
20 add_library(windows_probes_object OBJECT ${WINDOWS_PROBES_SOURCES})
21 set_oscap_generic_properties(windows_probes_object)
22 target_include_directories(windows_probes_object PRIVATE ${WINDOWS_PROBES_INCLUDE_DIRECTORIES})