2014-08-30 07:15:31 +00:00
|
|
|
if(APPLE)
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_OBJCXX_LIBRARY(TRUE osquery_filesystem_objc
|
2014-09-05 14:54:41 +00:00
|
|
|
darwin/plist.mm
|
2014-08-30 07:15:31 +00:00
|
|
|
)
|
2014-09-09 17:53:59 +00:00
|
|
|
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_LINK(TRUE "-framework Foundation")
|
2014-11-19 22:53:42 +00:00
|
|
|
elseif(UBUNTU OR CENTOS)
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_filesystem_linux
|
2015-01-19 02:19:35 +00:00
|
|
|
linux/mem.cpp
|
2014-11-19 22:53:42 +00:00
|
|
|
linux/proc.cpp
|
|
|
|
)
|
2014-08-30 07:15:31 +00:00
|
|
|
endif()
|
|
|
|
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_LIBRARY(TRUE osquery_filesystem
|
2014-09-06 01:12:37 +00:00
|
|
|
filesystem.cpp
|
|
|
|
)
|
|
|
|
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_TEST(TRUE filesystem_tests filesystem_tests.cpp)
|
2014-08-13 04:30:30 +00:00
|
|
|
if(APPLE)
|
2015-02-03 05:21:36 +00:00
|
|
|
ADD_OSQUERY_TEST(TRUE plist_tests darwin/plist_tests.cpp)
|
|
|
|
ADD_OSQUERY_TEST(TRUE plist_benchmark darwin/plist_benchmark.cpp)
|
2014-08-13 04:30:30 +00:00
|
|
|
endif()
|