osquery-1/osquery/core/CMakeLists.txt

25 lines
585 B
CMake
Raw Normal View History

2014-09-05 14:54:41 +00:00
if(APPLE)
set (OS_CORE_SOURCE darwin/test_util.cpp darwin/test_util.h)
2014-09-05 14:54:41 +00:00
else()
set (OS_CORE_SOURCE "")
endif()
2014-09-23 03:40:28 +00:00
ADD_OSQUERY_LIBRARY(osquery_core
init_osquery.cpp
sql.cpp
2014-07-31 00:35:19 +00:00
sqlite_util.cpp
system.cpp
2014-07-31 00:35:19 +00:00
test_util.cpp
2014-09-05 14:54:41 +00:00
${OS_CORE_SOURCE}
tables.cpp
2014-08-04 21:12:06 +00:00
text.cpp
2014-12-01 09:05:46 +00:00
flags.cpp
2014-07-31 00:35:19 +00:00
)
2014-09-05 14:54:41 +00:00
2014-09-23 03:40:28 +00:00
ADD_OSQUERY_TEST(status_test status_tests.cpp)
ADD_OSQUERY_TEST(sql_test sql_tests.cpp)
2014-09-23 02:54:59 +00:00
ADD_OSQUERY_TEST(sqlite_util_tests sqlite_util_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)