blob: bb8103fd93f6708838f54b400769d06191af6526 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
add_library(contrib-libs-sqlite3)
target_compile_options(contrib-libs-sqlite3 PRIVATE
-DBUILD_sqlite
-DHAVE_USLEEP
-DSQLITE_ENABLE_COLUMN_METADATA
-DSQLITE_ENABLE_DBSTAT_VTAB
-DSQLITE_ENABLE_FTS3
-DSQLITE_ENABLE_FTS3_PARENTHESIS
-DSQLITE_ENABLE_FTS3_TOKENIZER
-DSQLITE_ENABLE_FTS4
-DSQLITE_ENABLE_FTS5
-DSQLITE_ENABLE_JSON1
-DSQLITE_ENABLE_MATH_FUNCTIONS
-DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_STMT_SCANSTATUS
-DSQLITE_ENABLE_UNLOCK_NOTIFY
-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
-DSQLITE_HAVE_ZLIB=1
-DSQLITE_MAX_EXPR_DEPTH=10000
-DSQLITE_MAX_VARIABLE_NUMBER=250000
-DSQLITE_SECURE_DELETE
-DSQLITE_SOUNDEX
-DSQLITE_TEMP_STORE=1
-DSQLITE_THREADSAFE=1
-DSQLITE_OS_UNIX
)
target_include_directories(contrib-libs-sqlite3 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3
)
target_sources(contrib-libs-sqlite3 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3/sqlite3.c
${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3/test_multiplex.c
)
|