osquery-1/osquery/sql/CMakeLists.txt

31 lines
682 B
CMake
Raw Normal View History

ADD_OSQUERY_LIBRARY_CORE(osquery_sql
2015-02-03 05:21:36 +00:00
sql.cpp
)
if(FREEBSD)
ADD_OSQUERY_LIBRARY_ADDITIONAL(osquery_sql_internal
sqlite_util.cpp
sqlite_math.cpp
sqlite_hashing.cpp
sqlite_operations.cpp
sqlite_encoding.cpp
virtual_table.cpp
)
else()
ADD_OSQUERY_LIBRARY_ADDITIONAL(osquery_sql_internal
sqlite_util.cpp
sqlite_math.cpp
sqlite_string.cpp
sqlite_hashing.cpp
sqlite_operations.cpp
sqlite_encoding.cpp
virtual_table.cpp
)
endif()
2015-02-03 05:21:36 +00:00
2015-04-27 09:12:58 +00:00
file(GLOB OSQUERY_SQL_TESTS "tests/*.cpp")
ADD_OSQUERY_TEST_ADDITIONAL(${OSQUERY_SQL_TESTS})
file(GLOB OSQUERY_SQL_BENCHMARKS "benchmarks/*.cpp")
ADD_OSQUERY_BENCHMARK(${OSQUERY_SQL_BENCHMARKS})