mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
23 lines
540 B
CMake
23 lines
540 B
CMake
if(APPLE)
|
|
ADD_OSQUERY_OBJCXX_LIBRARY(TRUE osquery_filesystem_objc
|
|
darwin/plist.mm
|
|
)
|
|
|
|
ADD_OSQUERY_LINK(TRUE "-framework Foundation")
|
|
elseif(UBUNTU OR CENTOS)
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_filesystem_linux
|
|
linux/mem.cpp
|
|
linux/proc.cpp
|
|
)
|
|
endif()
|
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_filesystem
|
|
filesystem.cpp
|
|
)
|
|
|
|
ADD_OSQUERY_TEST(TRUE filesystem_tests filesystem_tests.cpp)
|
|
if(APPLE)
|
|
ADD_OSQUERY_TEST(TRUE plist_tests darwin/plist_tests.cpp)
|
|
ADD_OSQUERY_TEST(TRUE plist_benchmark darwin/plist_benchmark.cpp)
|
|
endif()
|