-
Notifications
You must be signed in to change notification settings - Fork 94
/
mSIGNA.pro
205 lines (184 loc) · 4.74 KB
/
mSIGNA.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
#######################################
# mSIGNA.pro
#
# Copyright (c) 2013-2015 Eric Lombrozo
#
# All Rights Reserved.
# Application icons for windows
RC_FILE = res/mSIGNA.rc
# Application icons for mac
ICON = res/icons/app_icons/osx.icns
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE DATABASE_SQLITE
CONFIG += c++11 rtti thread
QT += widgets network
QMAKE_CXXFLAGS_WARN_ON += -Wno-unknown-pragmas
INCLUDEPATH += \
sysroot/include \
/usr/local/include
LIBS += \
-Lsysroot/lib \
-lCoinDB \
-lCoinQ \
-lCoinCore \
-llogger \
-lqrencode
CONFIG(debug, debug|release) {
DESTDIR = build/debug
} else {
DESTDIR = build/release
}
OBJECTS_DIR = $$DESTDIR/obj
MOC_DIR = $$DESTDIR/moc
RCC_DIR = $$DESTDIR/rcc
UI_DIR = $$DESTDIR/ui
FORMS = \
src/acceptlicensedialog.ui \
src/requestpaymentdialog.ui
HEADERS = \
src/settings.h \
src/filesystem.h \
src/versioninfo.h \
src/copyrightinfo.h \
src/stylesheets.h \
src/aboutdialog.h \
src/coinparams.h \
src/docdir.h \
src/severitylogger.h \
src/entropysource.h \
src/currencyunitdialog.h \
src/networkselectiondialog.h \
src/splashscreen.h \
src/acceptlicensedialog.h \
src/mainwindow.h \
src/commandserver.h \
src/paymentrequest.h \
src/numberformats.h \
src/currencyvalidator.h \
src/hexvalidator.h \
src/accountmodel.h \
src/accountview.h \
src/keychainmodel.h \
src/keychainview.h \
src/entropydialog.h \
src/quicknewaccountdialog.h \
src/newaccountdialog.h \
src/newkeychaindialog.h \
src/txsearchdialog.h \
src/rawtxdialog.h \
src/createtxdialog.h \
src/unspenttxoutmodel.h \
src/unspenttxoutview.h \
src/txmodel.h \
src/txview.h \
src/accounthistorydialog.h \
src/txactions.h \
src/scriptmodel.h \
src/scriptview.h \
src/scriptdialog.h \
src/signaturemodel.h \
src/signatureview.h \
src/signaturedialog.h \
src/signatureactions.h \
src/requestpaymentdialog.h \
src/networksettingsdialog.h \
src/wordlistvalidator.h \
src/keychainbackupwizard.h \
src/keychainbackupdialog.h \
src/viewbip32dialog.h \
src/importbip32dialog.h \
src/viewbip39dialog.h \
src/importbip39dialog.h \
src/passphrasedialog.h \
src/setpassphrasedialog.h
SOURCES = \
src/settings.cpp \
src/filesystem.cpp \
src/versioninfo.cpp \
src/copyrightinfo.cpp \
src/stylesheets.cpp \
src/aboutdialog.cpp \
src/coinparams.cpp \
src/docdir.cpp \
src/entropysource.cpp \
src/main.cpp \
src/currencyunitdialog.cpp \
src/networkselectiondialog.cpp \
src/splashscreen.cpp \
src/acceptlicensedialog.cpp \
src/mainwindow.cpp \
src/commandserver.cpp \
src/paymentrequest.cpp \
src/numberformats.cpp \
src/currencyvalidator.cpp \
src/hexvalidator.cpp \
src/accountmodel.cpp \
src/accountview.cpp \
src/keychainmodel.cpp \
src/keychainview.cpp \
src/entropydialog.cpp \
src/quicknewaccountdialog.cpp \
src/newaccountdialog.cpp \
src/newkeychaindialog.cpp \
src/txsearchdialog.cpp \
src/rawtxdialog.cpp \
src/createtxdialog.cpp \
src/unspenttxoutmodel.cpp \
src/unspenttxoutview.cpp \
src/txmodel.cpp \
src/txview.cpp \
src/accounthistorydialog.cpp \
src/txactions.cpp \
src/scriptmodel.cpp \
src/scriptview.cpp \
src/scriptdialog.cpp \
src/signaturemodel.cpp \
src/signatureview.cpp \
src/signaturedialog.cpp \
src/signatureactions.cpp \
src/requestpaymentdialog.cpp \
src/networksettingsdialog.cpp \
src/wordlistvalidator.cpp \
src/keychainbackupwizard.cpp \
src/keychainbackupdialog.cpp \
src/viewbip32dialog.cpp \
src/importbip32dialog.cpp \
src/viewbip39dialog.cpp \
src/importbip39dialog.cpp \
src/passphrasedialog.cpp \
src/setpassphrasedialog.cpp
RESOURCES = \
res/mSIGNA.qrc \
docs/docs.qrc
# install
target.path = build
INSTALLS += target
win32 {
BOOST_LIB_SUFFIX = -mt-s
BOOST_THREAD_LIB_SUFFIX = _win32
LIBS += \
-L/usr/x86_64-w64-mingw32/plugins/platforms \
-static -static-libgcc -static-libstdc++ \
-lpthread \
-lws2_32 \
-lmswsock
}
macx {
isEmpty(BOOST_LIB_PATH) {
BOOST_LIB_PATH = /usr/local/lib
}
exists($$BOOST_LIB_PATH/libboost_system-mt*) {
BOOST_LIB_SUFFIX = -mt
}
LIBS += \
-L$$BOOST_LIB_PATH
}
LIBS += \
-lboost_system$$BOOST_LIB_SUFFIX \
-lboost_filesystem$$BOOST_LIB_SUFFIX \
-lboost_regex$$BOOST_LIB_SUFFIX \
-lboost_thread$$BOOST_THREAD_LIB_SUFFIX$$BOOST_LIB_SUFFIX \
-lboost_serialization$$BOOST_LIB_SUFFIX \
-lcrypto \
-lodb-sqlite \
-lodb \
-lsqlite3