osquery-1/osquery/core/CMakeLists.txt
2015-02-09 12:38:50 -08:00

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)