osquery-1/osquery/database/CMakeLists.txt
2015-11-02 10:57:01 -08:00

16 lines
421 B
CMake

ADD_OSQUERY_LIBRARY(TRUE osquery_database
database.cpp
)
# osquery_database_internal should be an 'additional' CORE=False lib
ADD_OSQUERY_LIBRARY(TRUE osquery_database_internal
db_handle.cpp
query.cpp
)
file(GLOB OSQUERY_DATABASE_TESTS "tests/*.cpp")
ADD_OSQUERY_TEST(TRUE ${OSQUERY_DATABASE_TESTS})
file(GLOB OSQUERY_DATABASE_BENCHMARKS "benchmarks/*.cpp")
ADD_OSQUERY_BENCHMARK(${OSQUERY_DATABASE_BENCHMARKS})