forked from qt-creator/qt-creator
28 lines
1.1 KiB
CMake
28 lines
1.1 KiB
CMake
|
|
add_qtc_library(Sqlite
|
||
|
|
DEFINES
|
||
|
|
SQLITE_THREADSAFE=2 SQLITE_ENABLE_FTS4 SQLITE_ENABLE_FTS3_PARENTHESIS
|
||
|
|
SQLITE_ENABLE_UNLOCK_NOTIFY SQLITE_ENABLE_COLUMN_METADATA
|
||
|
|
BUILD_SQLITE_LIBRARY
|
||
|
|
DEPENDS Qt5::Core
|
||
|
|
PUBLIC_INCLUDES "${CMAKE_CURRENT_LIST_DIR}" "${CMAKE_CURRENT_LIST_DIR}/../3rdparty/sqlite"
|
||
|
|
SOURCES
|
||
|
|
../3rdparty/sqlite/sqlite3.c
|
||
|
|
createtablesqlstatementbuilder.cpp createtablesqlstatementbuilder.h
|
||
|
|
sqlitebasestatement.cpp sqlitebasestatement.h
|
||
|
|
sqlitecolumn.cpp sqlitecolumn.h
|
||
|
|
sqlitedatabase.cpp sqlitedatabase.h
|
||
|
|
sqlitedatabasebackend.cpp sqlitedatabasebackend.h
|
||
|
|
sqliteexception.cpp sqliteexception.h
|
||
|
|
sqliteglobal.cpp sqliteglobal.h
|
||
|
|
sqliteindex.h
|
||
|
|
sqlitereadstatement.cpp sqlitereadstatement.h
|
||
|
|
sqlitereadwritestatement.cpp sqlitereadwritestatement.h
|
||
|
|
sqlitetable.cpp sqlitetable.h
|
||
|
|
sqlitetransaction.h
|
||
|
|
sqlitewritestatement.cpp sqlitewritestatement.h
|
||
|
|
sqlstatementbuilder.cpp sqlstatementbuilder.h
|
||
|
|
sqlstatementbuilderexception.cpp sqlstatementbuilderexception.h
|
||
|
|
utf8string.cpp utf8string.h
|
||
|
|
utf8stringvector.cpp utf8stringvector.h
|
||
|
|
)
|