2017-05-10 06:55:49 +00:00
|
|
|
ADD_OSQUERY_LIBRARY_CORE(osquery_sql
|
2015-02-03 05:21:36 +00:00
|
|
|
sql.cpp
|
|
|
|
)
|
|
|
|
|
2017-02-27 02:25:49 +00:00
|
|
|
if(FREEBSD)
|
2017-05-10 06:55:49 +00:00
|
|
|
ADD_OSQUERY_LIBRARY_ADDITIONAL(osquery_sql_internal
|
2017-02-27 02:25:49 +00:00
|
|
|
sqlite_util.cpp
|
|
|
|
sqlite_math.cpp
|
2017-05-10 06:55:49 +00:00
|
|
|
sqlite_hashing.cpp
|
2017-05-26 18:19:43 +00:00
|
|
|
sqlite_operations.cpp
|
2017-05-24 16:38:10 +00:00
|
|
|
sqlite_encoding.cpp
|
2017-02-27 02:25:49 +00:00
|
|
|
virtual_table.cpp
|
|
|
|
)
|
|
|
|
else()
|
2017-05-10 06:55:49 +00:00
|
|
|
ADD_OSQUERY_LIBRARY_ADDITIONAL(osquery_sql_internal
|
2017-02-27 02:25:49 +00:00
|
|
|
sqlite_util.cpp
|
|
|
|
sqlite_math.cpp
|
|
|
|
sqlite_string.cpp
|
2017-05-10 06:55:49 +00:00
|
|
|
sqlite_hashing.cpp
|
2017-05-26 18:19:43 +00:00
|
|
|
sqlite_operations.cpp
|
2017-05-24 16:38:10 +00:00
|
|
|
sqlite_encoding.cpp
|
2017-02-27 02:25:49 +00:00
|
|
|
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")
|
2017-05-10 06:55:49 +00:00
|
|
|
ADD_OSQUERY_TEST_ADDITIONAL(${OSQUERY_SQL_TESTS})
|
2015-07-28 09:02:31 +00:00
|
|
|
|
|
|
|
file(GLOB OSQUERY_SQL_BENCHMARKS "benchmarks/*.cpp")
|
|
|
|
ADD_OSQUERY_BENCHMARK(${OSQUERY_SQL_BENCHMARKS})
|