2016-05-11 21:16:32 +00:00
|
|
|
file(GLOB OS_CORE_SOURCE "${PROCESS_FAMILY}/*.cpp")
|
2016-09-12 16:46:52 +00:00
|
|
|
file(GLOB OS_CORE_TESTS_SOURCE "tests/${PROCESS_FAMILY}/*.cpp")
|
2016-05-11 21:16:32 +00:00
|
|
|
|
2014-09-05 14:54:41 +00:00
|
|
|
if(APPLE)
|
2014-12-10 09:17:24 +00:00
|
|
|
set (OS_CORE_SOURCE
|
2016-05-11 21:16:32 +00:00
|
|
|
${OS_CORE_SOURCE}
|
2014-12-10 09:17:24 +00:00
|
|
|
darwin/conversions.cpp
|
|
|
|
)
|
2014-09-05 14:54:41 +00:00
|
|
|
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-12-01 09:05:46 +00:00
|
|
|
flags.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")
|
2016-09-12 16:46:52 +00:00
|
|
|
ADD_OSQUERY_TEST(TRUE ${OSQUERY_CORE_TESTS} ${OS_CORE_TESTS_SOURCE})
|