Omit some unused sqlite parts.
GitOrigin-RevId: 1ec7b317466aa4f363e73de3fee04509a2fcf054
This commit is contained in:
parent
da08f7ea9d
commit
86cb681064
@ -17,7 +17,12 @@ target_include_directories(tdsqlite PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOU
|
|||||||
target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
||||||
target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY})
|
target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY})
|
||||||
target_compile_definitions(tdsqlite PRIVATE
|
target_compile_definitions(tdsqlite PRIVATE
|
||||||
-DSQLITE_DEFAULT_MEMSTATUS=0 #-DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE
|
-DSQLITE_DEFAULT_MEMSTATUS=0
|
||||||
|
-DSQLITE_OMIT_LOAD_EXTENSION
|
||||||
|
-DSQLITE_OMIT_DECLTYPE
|
||||||
|
-DSQLITE_OMIT_PROGRESS_CALLBACK
|
||||||
|
#-DSQLITE_OMIT_DEPRECATED # SQLCipher uses deprecated sqlite3_profile
|
||||||
|
#-DSQLITE_OMIT_SHARED_CACHE
|
||||||
)
|
)
|
||||||
target_compile_definitions(tdsqlite PRIVATE -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_FTS5 -DSQLITE_DISABLE_LFS)
|
target_compile_definitions(tdsqlite PRIVATE -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_ENABLE_FTS5 -DSQLITE_DISABLE_LFS)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user