aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteWx/DbSqliteWx.pro
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/DbSqliteWx/DbSqliteWx.pro')
-rw-r--r--Plugins/DbSqliteWx/DbSqliteWx.pro39
1 files changed, 29 insertions, 10 deletions
diff --git a/Plugins/DbSqliteWx/DbSqliteWx.pro b/Plugins/DbSqliteWx/DbSqliteWx.pro
index 463cc75..6fb8406 100644
--- a/Plugins/DbSqliteWx/DbSqliteWx.pro
+++ b/Plugins/DbSqliteWx/DbSqliteWx.pro
@@ -14,16 +14,27 @@ TARGET = DbSqliteWx
TEMPLATE = lib
SOURCES += dbsqlitewx.cpp \
- codec.c \
- codecext.c \
- csv.c \
- extensionfunctions.c \
- rijndael.c \
- sha2.c \
- sqlite3secure.c \
- userauth.c \
dbsqlitewxinstance.cpp \
- wxsqlite3.c
+ chacha20poly1305.c \
+ fastpbkdf2.c \
+ fileio.c \
+ md5.c \
+ rekeyvacuum.c \
+ sha1.c \
+ shathree.c \
+ test_windirent.c
+
+!unix|isEmpty(WXSQLITE_LIB) {
+ SOURCES += carray.c \
+ codec.c \
+ codecext.c \
+ csv.c \
+ extensionfunctions.c \
+ rijndael.c \
+ sha2.c \
+ sqlite3secure.c \
+ userauth.c
+}
HEADERS += dbsqlitewx.h \
codec.h \
@@ -33,7 +44,11 @@ HEADERS += dbsqlitewx.h \
sqlite3userauth.h \
dbsqlitewx_global.h \
dbsqlitewxinstance.h \
- wxsqlite3.h
+ fastpbkdf2.h \
+ sha1.h \
+ sqlite3secure.h \
+ test_windirent.h
+
DISTFILES += DbSqliteWx.json
!macx: {
@@ -47,6 +62,10 @@ win32: {
unix: {
DEFINES += SQLITE_OS_UNIX=1
+ !isEmpty(WXSQLITE_LIB): {
+ LIBS += $$WXSQLITE_LIB
+ DEFINES += WXSQLITE_SYSTEM_LIB
+ }
}
win32: {
DEFINES += SQLITE_OS_WIN=1