osquery-1/osquery/config/CMakeLists.txt
2015-05-26 19:55:00 -07:00

26 lines
558 B
CMake

ADD_OSQUERY_LIBRARY(TRUE osquery_config
config.cpp
)
set(OSQUERY_CONFIG_PLUGINS
plugins/filesystem.cpp
plugins/tls.cpp
update.cpp
)
file(GLOB OSQUERY_CONFIG_PARSERS "parsers/*.cpp")
ADD_OSQUERY_LIBRARY(FALSE osquery_config_plugins
${OSQUERY_CONFIG_PLUGINS}
)
ADD_OSQUERY_LIBRARY(FALSE osquery_config_parsers
${OSQUERY_CONFIG_PARSERS}
)
file(GLOB OSQUERY_CONFIG_TESTS "tests/*.cpp")
ADD_OSQUERY_TEST(FALSE ${OSQUERY_CONFIG_TESTS})
file(GLOB OSQUERY_CONFIG_PLUGIN_TESTS "*/tests/*.cpp")
ADD_OSQUERY_TEST(FALSE ${OSQUERY_CONFIG_PLUGIN_TESTS})