osquery-1/osquery/tables/CMakeLists.txt

27 lines
928 B
CMake
Raw Normal View History

2014-08-05 09:21:24 +00:00
FILE(GLOB table_sources
"generated/*.cpp"
"manual/*.cpp"
2014-08-05 09:21:24 +00:00
)
2014-07-31 00:35:19 +00:00
ADD_LIBRARY(osquery_tables
2014-08-05 08:21:28 +00:00
registry.cpp
2014-08-05 09:21:24 +00:00
${table_sources}
examples/example.cpp
networking/etc_hosts.cpp
system/processes.cpp
2014-07-31 00:35:19 +00:00
)
TARGET_LINK_LIBRARIES(osquery_tables boost_filesystem)
2014-08-04 21:12:06 +00:00
TARGET_LINK_LIBRARIES(osquery_tables glog)
TARGET_LINK_LIBRARIES(osquery_tables osquery_filesystem)
2014-07-31 00:35:19 +00:00
TARGET_LINK_LIBRARIES(osquery_tables osquery_sqlite)
2014-08-05 08:21:28 +00:00
TARGET_LINK_LIBRARIES(osquery_tables "-Wl,-all_load")
2014-08-07 00:42:35 +00:00
TARGET_LINK_LIBRARIES(osquery_tables "-fobjc-arc -fobjc-link-runtime -framework Foundation")
ADD_EXECUTABLE(etc_hosts_tests networking/etc_hosts_tests.cpp)
TARGET_LINK_LIBRARIES(etc_hosts_tests gtest)
TARGET_LINK_LIBRARIES(etc_hosts_tests glog)
TARGET_LINK_LIBRARIES(etc_hosts_tests osquery_core)
2014-08-07 20:14:06 +00:00
TARGET_LINK_LIBRARIES(etc_hosts_tests osquery_database)
2014-08-04 21:12:06 +00:00
TARGET_LINK_LIBRARIES(etc_hosts_tests osquery_filesystem)
TARGET_LINK_LIBRARIES(etc_hosts_tests osquery_tables)