mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
35 lines
1.2 KiB
CMake
35 lines
1.2 KiB
CMake
ADD_LIBRARY(osquery_core
|
|
init_osquery.cpp
|
|
sqlite_util.cpp
|
|
system.cpp
|
|
test_util.cpp
|
|
text.cpp
|
|
)
|
|
TARGET_LINK_LIBRARIES(osquery_core gflags)
|
|
TARGET_LINK_LIBRARIES(osquery_core glog)
|
|
TARGET_LINK_LIBRARIES(osquery_core gtest)
|
|
TARGET_LINK_LIBRARIES(osquery_core osquery_database)
|
|
TARGET_LINK_LIBRARIES(osquery_core osquery_filesystem)
|
|
TARGET_LINK_LIBRARIES(osquery_core osquery_sqlite)
|
|
TARGET_LINK_LIBRARIES(osquery_core osquery_tables)
|
|
|
|
ADD_EXECUTABLE(status_tests status_tests.cpp)
|
|
TARGET_LINK_LIBRARIES(status_tests gtest)
|
|
|
|
ADD_EXECUTABLE(sqlite_util_tests sqlite_util_tests.cpp)
|
|
TARGET_LINK_LIBRARIES(sqlite_util_tests gtest)
|
|
TARGET_LINK_LIBRARIES(sqlite_util_tests osquery_core)
|
|
TARGET_LINK_LIBRARIES(sqlite_util_tests osquery_database)
|
|
TARGET_LINK_LIBRARIES(sqlite_util_tests osquery_sqlite)
|
|
|
|
ADD_EXECUTABLE(test_util_tests test_util_tests.cpp)
|
|
TARGET_LINK_LIBRARIES(test_util_tests gtest)
|
|
TARGET_LINK_LIBRARIES(test_util_tests glog)
|
|
TARGET_LINK_LIBRARIES(test_util_tests osquery_core)
|
|
TARGET_LINK_LIBRARIES(test_util_tests osquery_sqlite)
|
|
|
|
ADD_EXECUTABLE(text_tests text_tests.cpp)
|
|
TARGET_LINK_LIBRARIES(text_tests gtest)
|
|
TARGET_LINK_LIBRARIES(text_tests glog)
|
|
TARGET_LINK_LIBRARIES(text_tests osquery_core)
|