Import SQLite3 wrapper implementation from old repo
This commit is contained in:
parent
f9c6e9e7cb
commit
405b68b824
5 changed files with 826 additions and 0 deletions
28
CMake/sqlite3.cmake
Normal file
28
CMake/sqlite3.cmake
Normal file
|
@ -0,0 +1,28 @@
|
|||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
sqlite3
|
||||
URL https://www.sqlite.org/2025/sqlite-amalgamation-3490100.zip
|
||||
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(
|
||||
sqlite3
|
||||
)
|
||||
|
||||
add_library(
|
||||
sqlite3
|
||||
STATIC
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
sqlite3
|
||||
PUBLIC
|
||||
${sqlite3_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(
|
||||
sqlite3
|
||||
PRIVATE
|
||||
${sqlite3_SOURCE_DIR}/sqlite3.c
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue