osquery-1/osquery/core/CMakeLists.txt
yying 5f81cd9e2b Filesystem Abstractions - Code and Unit Tests (#2119)
* Implemented filesystem operations abstraction code
* Added filesystem operations abstraction unit tests
* Modified CMake configurations to support the building of the abstraction code and unit tests
2016-05-31 12:20:38 -07:00

24 lines
410 B
CMake

file(GLOB OS_CORE_SOURCE "${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
hash.cpp
watcher.cpp
process_shared.cpp
)
file(GLOB OSQUERY_CORE_TESTS "tests/*.cpp")
ADD_OSQUERY_TEST(TRUE ${OSQUERY_CORE_TESTS})