2014-09-05 14:54:41 +00:00
|
|
|
if(APPLE)
|
2014-12-10 09:17:24 +00:00
|
|
|
set (OS_CORE_SOURCE
|
|
|
|
darwin/conversions.cpp
|
|
|
|
)
|
2014-09-05 14:54:41 +00:00
|
|
|
else()
|
|
|
|
set (OS_CORE_SOURCE "")
|
|
|
|
endif()
|
|
|
|
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_core
|
2014-12-17 22:03:52 +00:00
|
|
|
conversions.cpp
|
2015-01-02 05:55:10 +00:00
|
|
|
init.cpp
|
2014-08-21 21:35:51 +00:00
|
|
|
system.cpp
|
2014-09-05 14:54:41 +00:00
|
|
|
${OS_CORE_SOURCE}
|
2014-11-29 00:22:02 +00:00
|
|
|
tables.cpp
|
2014-08-04 21:12:06 +00:00
|
|
|
text.cpp
|
2014-12-01 09:05:46 +00:00
|
|
|
flags.cpp
|
2015-01-16 01:16:05 +00:00
|
|
|
hash.cpp
|
2015-02-09 00:00:43 +00:00
|
|
|
watcher.cpp
|
2014-07-31 00:35:19 +00:00
|
|
|
)
|
2014-09-05 14:54:41 +00:00
|
|
|
|
2015-04-27 09:12:58 +00:00
|
|
|
file(GLOB OSQUERY_CORE_TESTS "tests/*.cpp")
|
|
|
|
ADD_OSQUERY_TEST(TRUE ${OSQUERY_CORE_TESTS})
|