-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRedLibrary.pro
134 lines (119 loc) · 3.55 KB
/
RedLibrary.pro
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
QT -= gui
TEMPLATE = lib
CONFIG += staticlib
CONFIG += c++17
SOURCES += \
EncryptionAlgorithms/AesCBC128.cpp \
EncryptionAlgorithms/AesCBC192.cpp \
EncryptionAlgorithms/AesCBC256.cpp \
EncryptionAlgorithms/AesECB128.cpp \
EncryptionAlgorithms/AesECB192.cpp \
EncryptionAlgorithms/AesECB256.cpp \
HashFunctions/Sha256.cpp \
HashFunctions/Sha512.cpp \
RedConfig.cpp \
RedDataBase/Backup.cpp \
RedDataBase/Column.cpp \
RedDataBase/Database.cpp \
RedDataBase/Exception.cpp \
RedDataBase/Statement.cpp \
RedDataBase/Transaction.cpp \
RedEncryptionAlgorithms/ResCBC1024.cpp \
RedEncryptionAlgorithms/ResCBC1536.cpp \
RedEncryptionAlgorithms/ResCBC512.cpp \
RedEncryptionAlgorithms/ResECB1024.cpp \
RedEncryptionAlgorithms/ResECB1536.cpp \
RedEncryptionAlgorithms/ResECB512.cpp \
RedEncryptionAlgorithms/Va1.cpp \
RedLog.cpp
HEADERS += \
2layerDiffieHellman.h \
AcceptionLib.h \
DiffieHellman.h \
EncryptionAlgorithms/AesCBC128.h \
EncryptionAlgorithms/AesCBC192.h \
EncryptionAlgorithms/AesCBC256.h \
EncryptionAlgorithms/AesECB128.h \
EncryptionAlgorithms/AesECB192.h \
EncryptionAlgorithms/AesECB256.h \
EncryptionAlgorithms/Base64.h \
EncryptionAlgorithms/_private/AesDeclarations.h \
ExecutionTime.h \
FastMath/FastSqrt.h \
FileBuffer.h \
HashFunctions/Sha256.h \
HashFunctions/Sha512.h \
Hex.h \
InsensitiveMap.h \
Ipv4.h \
MemoryChecker.h \
PassGenerator.h \
PermissionsLib.h \
ProgressBar.h \
Randomizer.h \
RedConfig.h \
RedConfig/Exceptions.h \
RedDataBase.h \
RedDataBase/Assertion.h \
RedDataBase/Backup.h \
RedDataBase/Check.h \
RedDataBase/Check.h \
RedDataBase/Column.h \
RedDataBase/Database.h \
RedDataBase/Exception.h \
RedDataBase/ExecuteMany.h \
RedDataBase/Statement.h \
RedDataBase/Transaction.h \
RedDataBase/Utils.h \
RedDataBase/VariadicBind.h \
RedEncryptionAlgorithms/ResCBC1024.h \
RedEncryptionAlgorithms/ResCBC1536.h \
RedEncryptionAlgorithms/ResCBC512.h \
RedEncryptionAlgorithms/ResECB1024.h \
RedEncryptionAlgorithms/ResECB1536.h \
RedEncryptionAlgorithms/ResECB512.h \
RedEncryptionAlgorithms/Va1.h \
RedEncryptionAlgorithms/_private/ResDeclarations.h \
RedEncryptionAlgorithms/rcrypt.h \
RedLog.h \
RedTypes.h \
Version.h
QMAKE_CXXFLAGS += "-Wno-old-style-cast"
QMAKE_CXXFLAGS += "-Wreserved-identifiers"
QMAKE_CXXFLAGS += "-Wzero-as-null-pointer-constant"
# Boost.
QMAKE_CXXFLAGS += -std=c++17
INCLUDEPATH += "./libs/boost/1.76.0/include/"
LIBS += -L./libs/boost/1.76.0/lib/
## Use only one of these:
LIBS += -lboost_filesystem -lboost_system# -lboost_asio# using dynamic lib
#LIBS += $${_BOOST_PATH}/lib/libboost_chrono-mt.a # using static lib
# Openssl.
INCLUDEPATH += "./libs/[email protected]/1.1.1m/include/"
LIBS += -L./libs/[email protected]/1.1.1m/lib/
LIBS += -lssl
LIBS += -lcrypto
# Fmt.
INCLUDEPATH += "./libs/fmt/8.1.1_1/include/"
LIBS += -L./libs/fmt/8.1.1_1/lib/
LIBS += -lfmt
# Sqlite.
INCLUDEPATH += "./libs/sqlite/3.37.2/include/"
LIBS += -L./libs/sqlite/3.37.2/lib/
LIBS += -lsqlite3
macx {
INCLUDEPATH += "/usr/local/opt/sqlite3/include/"
}
# Unicode.
INCLUDEPATH += "./libs/icu4c/69.1/include/"
LIBS += -L./libs/icu4c/69.1/lib/
LIBS += -licuuc
# Gsasl.
INCLUDEPATH += "./libs/gsasl/1.10.0/include/"
LIBS += -L./libs/gsasl/1.10.0/lib/
LIBS += -lgsasl.7
# Default rules for deployment.
unix {
target.path = $$[QT_INSTALL_PLUGINS]/generic
}
!isEmpty(target.path): INSTALLS += target