mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 18:33:54 +00:00
23 lines
466 B
CMake
23 lines
466 B
CMake
file(GLOB OS_CORE_SOURCE "${PROCESS_FAMILY}/*.cpp")
|
|
file(GLOB OS_CORE_TESTS_SOURCE "tests/${PROCESS_FAMILY}/*.cpp")
|
|
|
|
if(APPLE)
|
|
set (OS_CORE_SOURCE
|
|
${OS_CORE_SOURCE}
|
|
darwin/conversions.cpp
|
|
)
|
|
endif()
|
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_core
|
|
conversions.cpp
|
|
init.cpp
|
|
system.cpp
|
|
${OS_CORE_SOURCE}
|
|
tables.cpp
|
|
flags.cpp
|
|
watcher.cpp
|
|
)
|
|
|
|
file(GLOB OSQUERY_CORE_TESTS "tests/*.cpp")
|
|
ADD_OSQUERY_TEST(TRUE ${OSQUERY_CORE_TESTS} ${OS_CORE_TESTS_SOURCE})
|