osquery-1/osquery/sql/CMakeLists.txt
Teddy Reed 05882d717c Add basic string split and inet_aton functions (#2124)
The three new SQLite functions:
- split: Splits a column using a set of tokens and a selected index.
- regex_split: Similar to split but with a regex instead of tokens.
- inet_aton: Returns the IPv4 decimal value for a string-formatted address.
2016-05-29 02:06:02 -07:00

17 lines
367 B
CMake

ADD_OSQUERY_LIBRARY(TRUE osquery_sql
sql.cpp
)
ADD_OSQUERY_LIBRARY(FALSE osquery_sql_internal
sqlite_util.cpp
sqlite_math.cpp
sqlite_string.cpp
virtual_table.cpp
)
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})