blob: cbb8ec3979c163924bafc1722c7520df4018912c (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
#-------------------------------------------------
#
# Project created by QtCreator 2014-11-15T12:07:32
#
#-------------------------------------------------
QT -= gui
include($$PWD/../../SQLiteStudio3/plugins.pri)
TARGET = DbSqliteCipher
TEMPLATE = lib
DEFINES += DBSQLITECIPHER_LIBRARY
SOURCES += dbsqlitecipher.cpp \
dbsqlitecipherinstance.cpp
!unix|isEmpty(SQLCIPHER_LIB): {
SOURCES += sqlcipher.c
}
HEADERS += dbsqlitecipher.h \
dbsqlitecipher_global.h \
dbsqlitecipherinstance.h
sqlcipher.h
!macx: {
LIBS += -L$${PWD}/../deps/lib/$${PLATFORM}/
}
win32: {
INCLUDEPATH += $${PWD}/../deps/include/$${PLATFORM}/
DEPENDPATH += $${PWD}/../deps/include/$${PLATFORM}/
LIBS += -leay32 -lcoreSQLiteStudio
}
!win32:isEmpty(SQLCIPHER_LIB) {
LIBS += -lcrypto
}
unix: {
DEFINES += SQLITE_OS_UNIX=1
!isEmpty(SQLCIPHER_LIB): {
LIBS += $$SQLCIPHER_LIB
DEFINES += SQLCIPHER_SYSTEM_LIB
}
}
win32: {
DEFINES += SQLITE_OS_WIN=1
}
DEFINES += SQLITE_HAS_CODEC SQLCIPHER_CRYPTO_OPENSSL BUILD_sqlite NDEBUG SQLITE_ALLOW_XTHREAD_CONNECT=1 SQLITE_THREADSAFE=1 SQLITE_TEMP_STORE=2
OTHER_FILES += \
dbsqlitecipher.json \
sqlcipher.txt \
sqlcipher_compiling.txt
RESOURCES += \
dbsqlitecipher.qrc
QMAKE_CFLAGS_WARN_ON = -Wall -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function
DISTFILES += \
openssl_lic.txt
TRANSLATIONS += DbSqliteCipher_ro_RO.ts \
DbSqliteCipher_de.ts \
\
DbSqliteCipher_it.ts\
DbSqliteCipher_zh_CN.ts\
DbSqliteCipher_sk.ts\
DbSqliteCipher_ru.ts\
DbSqliteCipher_pt_BR.ts\
DbSqliteCipher_fr.ts\
DbSqliteCipher_es.ts\
DbSqliteCipher_pl.ts
|