mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
30 lines
654 B
CMake
30 lines
654 B
CMake
if(APPLE)
|
|
set (OS_CORE_SOURCE
|
|
darwin/conversions.cpp
|
|
)
|
|
else()
|
|
set (OS_CORE_SOURCE "")
|
|
endif()
|
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_core
|
|
conversions.cpp
|
|
init.cpp
|
|
system.cpp
|
|
${OS_CORE_SOURCE}
|
|
tables.cpp
|
|
text.cpp
|
|
flags.cpp
|
|
hash.cpp
|
|
watcher.cpp
|
|
)
|
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_test_util
|
|
test_util.cpp
|
|
)
|
|
|
|
ADD_OSQUERY_TEST(TRUE hash_test hash_tests.cpp)
|
|
ADD_OSQUERY_TEST(TRUE status_test status_tests.cpp)
|
|
ADD_OSQUERY_TEST(TRUE tables_tests tables_tests.cpp)
|
|
ADD_OSQUERY_TEST(TRUE test_util_tests test_util_tests.cpp)
|
|
ADD_OSQUERY_TEST(TRUE text_tests text_tests.cpp)
|
|
ADD_OSQUERY_TEST(TRUE conversions_tests conversions_tests.cpp) |