osquery-1/osquery/core/CMakeLists.txt
2015-01-30 01:08:36 +08:00

33 lines
774 B
CMake

if(APPLE)
set (OS_CORE_SOURCE
darwin/conversions.cpp
)
else()
set (OS_CORE_SOURCE "")
endif()
ADD_OSQUERY_CORE_LIBRARY(osquery_core
conversions.cpp
init.cpp
sql.cpp
sqlite_util.cpp
system.cpp
test_util.cpp
${OS_CORE_SOURCE}
tables.cpp
virtual_table.cpp
text.cpp
flags.cpp
hash.cpp
)
ADD_OSQUERY_TEST(hash_test hash_tests.cpp)
ADD_OSQUERY_TEST(status_test status_tests.cpp)
ADD_OSQUERY_TEST(sql_test sql_tests.cpp)
ADD_OSQUERY_TEST(sqlite_util_tests sqlite_util_tests.cpp)
ADD_OSQUERY_TEST(tables_tests tables_tests.cpp)
ADD_OSQUERY_TEST(virtual_table_tests virtual_table_tests.cpp)
ADD_OSQUERY_TEST(test_util_tests test_util_tests.cpp)
ADD_OSQUERY_TEST(text_tests text_tests.cpp)
ADD_OSQUERY_TEST(conversions_tests conversions_tests.cpp)