mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
25 lines
521 B
CMake
25 lines
521 B
CMake
ADD_OSQUERY_LIBRARY(TRUE osquery_sql
|
|
sql.cpp
|
|
)
|
|
|
|
if(FREEBSD)
|
|
ADD_OSQUERY_LIBRARY(FALSE osquery_sql_internal
|
|
sqlite_util.cpp
|
|
sqlite_math.cpp
|
|
virtual_table.cpp
|
|
)
|
|
else()
|
|
ADD_OSQUERY_LIBRARY(FALSE osquery_sql_internal
|
|
sqlite_util.cpp
|
|
sqlite_math.cpp
|
|
sqlite_string.cpp
|
|
virtual_table.cpp
|
|
)
|
|
endif()
|
|
|
|
file(GLOB OSQUERY_SQL_TESTS "tests/*.cpp")
|
|
ADD_OSQUERY_TEST(FALSE ${OSQUERY_SQL_TESTS})
|
|
|
|
file(GLOB OSQUERY_SQL_BENCHMARKS "benchmarks/*.cpp")
|
|
ADD_OSQUERY_BENCHMARK(${OSQUERY_SQL_BENCHMARKS})
|