mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 18:33:54 +00:00
26 lines
729 B
CMake
26 lines
729 B
CMake
ADD_OSQUERY_LIBRARY(TRUE osquery_config
|
|
config.cpp
|
|
packs.cpp
|
|
)
|
|
|
|
file(GLOB OSQUERY_CONFIG_PLUGINS "plugins/*.cpp")
|
|
ADD_OSQUERY_LIBRARY(FALSE osquery_config_plugins
|
|
${OSQUERY_CONFIG_PLUGINS}
|
|
update.cpp
|
|
)
|
|
|
|
file(GLOB OSQUERY_CONFIG_PARSERS "parsers/*.cpp")
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_config_parsers
|
|
${OSQUERY_CONFIG_PARSERS}
|
|
)
|
|
|
|
file(GLOB OSQUERY_CONFIG_TESTS "tests/config_tests.cpp")
|
|
ADD_OSQUERY_TEST(TRUE ${OSQUERY_CONFIG_TESTS})
|
|
|
|
# The packs tests will attempt to execute SQL, they must be additional
|
|
file(GLOB OSQUERY_PACKS_TESTS "tests/packs_tests.cpp")
|
|
ADD_OSQUERY_TEST(FALSE ${OSQUERY_PACKS_TESTS})
|
|
|
|
file(GLOB OSQUERY_CONFIG_PLUGIN_TESTS "*/tests/*.cpp")
|
|
ADD_OSQUERY_TEST(FALSE ${OSQUERY_CONFIG_PLUGIN_TESTS})
|