2011-05-07 13:13:39 -07:00
|
|
|
TEMPLATE = app
|
2011-05-14 01:31:46 -07:00
|
|
|
TARGET =
|
2011-06-11 13:11:58 -07:00
|
|
|
INCLUDEPATH += src src/json src/cryptopp src/qt
|
2011-06-22 11:11:12 -07:00
|
|
|
DEFINES += QT_GUI
|
2011-07-03 11:53:56 -07:00
|
|
|
# DEFINES += SSL
|
|
|
|
CONFIG += no_include_pwd
|
2011-06-13 23:13:29 -07:00
|
|
|
|
|
|
|
# for boost 1.37, add -mt to the boost libraries
|
2011-06-13 12:40:07 -07:00
|
|
|
unix:LIBS += -lssl -lcrypto -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -ldb_cxx
|
2011-06-20 04:30:54 -07:00
|
|
|
macx:DEFINES += __WXMAC_OSX__ MSG_NOSIGNAL=0 BOOST_FILESYSTEM_VERSION=3
|
2011-07-12 23:27:41 -07:00
|
|
|
macx:LIBS += -lboost_thread-mt -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt
|
2011-07-03 11:53:56 -07:00
|
|
|
windows:DEFINES += __WXMSW__
|
|
|
|
windows:LIBS += -lssl -lcrypto -lboost_system-mgw44-mt-1_43 -lboost_filesystem-mgw44-mt-1_43 -lboost_program_options-mgw44-mt-1_43 -lboost_thread-mgw44-mt-1_43 -ldb_cxx -lws2_32 -lgdi32
|
2011-07-24 06:53:27 -07:00
|
|
|
windows:RC_FILE = src/qt/res/bitcoin-qt.rc
|
2011-05-29 12:31:29 -07:00
|
|
|
|
2011-07-09 02:54:25 -07:00
|
|
|
# for extra security against potential buffer overflows
|
|
|
|
QMAKE_CXXFLAGS += -fstack-protector
|
2011-07-09 06:58:05 -07:00
|
|
|
QMAKE_LFLAGS += -fstack-protector
|
2011-07-09 02:54:25 -07:00
|
|
|
|
2011-06-13 23:13:29 -07:00
|
|
|
# disable quite some warnings because bitcoin core "sins" a lot
|
2011-05-29 12:31:29 -07:00
|
|
|
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
|
|
|
|
|
2011-05-07 13:13:39 -07:00
|
|
|
# Input
|
2011-06-11 13:11:58 -07:00
|
|
|
DEPENDPATH += src/qt src src/cryptopp src json/include
|
|
|
|
HEADERS += src/qt/bitcoingui.h \
|
|
|
|
src/qt/transactiontablemodel.h \
|
|
|
|
src/qt/addresstablemodel.h \
|
|
|
|
src/qt/optionsdialog.h \
|
|
|
|
src/qt/sendcoinsdialog.h \
|
2011-07-07 08:33:15 -07:00
|
|
|
src/qt/addressbookpage.h \
|
2011-06-11 13:11:58 -07:00
|
|
|
src/qt/aboutdialog.h \
|
|
|
|
src/qt/editaddressdialog.h \
|
|
|
|
src/qt/bitcoinaddressvalidator.h \
|
|
|
|
src/base58.h \
|
|
|
|
src/bignum.h \
|
|
|
|
src/util.h \
|
|
|
|
src/uint256.h \
|
|
|
|
src/serialize.h \
|
|
|
|
src/cryptopp/stdcpp.h \
|
|
|
|
src/cryptopp/smartptr.h \
|
|
|
|
src/cryptopp/simple.h \
|
|
|
|
src/cryptopp/sha.h \
|
|
|
|
src/cryptopp/secblock.h \
|
|
|
|
src/cryptopp/pch.h \
|
|
|
|
src/cryptopp/misc.h \
|
|
|
|
src/cryptopp/iterhash.h \
|
|
|
|
src/cryptopp/cryptlib.h \
|
|
|
|
src/cryptopp/cpu.h \
|
|
|
|
src/cryptopp/config.h \
|
|
|
|
src/strlcpy.h \
|
|
|
|
src/main.h \
|
|
|
|
src/net.h \
|
|
|
|
src/key.h \
|
|
|
|
src/db.h \
|
|
|
|
src/script.h \
|
|
|
|
src/noui.h \
|
|
|
|
src/init.h \
|
|
|
|
src/headers.h \
|
|
|
|
src/irc.h \
|
|
|
|
src/json/json_spirit_writer_template.h \
|
|
|
|
src/json/json_spirit_writer.h \
|
|
|
|
src/json/json_spirit_value.h \
|
|
|
|
src/json/json_spirit_utils.h \
|
|
|
|
src/json/json_spirit_stream_reader.h \
|
|
|
|
src/json/json_spirit_reader_template.h \
|
|
|
|
src/json/json_spirit_reader.h \
|
|
|
|
src/json/json_spirit_error_position.h \
|
|
|
|
src/json/json_spirit.h \
|
|
|
|
src/qt/clientmodel.h \
|
|
|
|
src/qt/guiutil.h \
|
|
|
|
src/qt/transactionrecord.h \
|
|
|
|
src/qt/guiconstants.h \
|
|
|
|
src/qt/optionsmodel.h \
|
|
|
|
src/qt/monitoreddatamapper.h \
|
2011-06-22 11:11:12 -07:00
|
|
|
src/qtui.h \
|
2011-06-11 13:11:58 -07:00
|
|
|
src/qt/transactiondesc.h \
|
2011-06-20 12:31:42 -07:00
|
|
|
src/qt/transactiondescdialog.h \
|
2011-06-26 10:23:24 -07:00
|
|
|
src/qt/bitcoinamountfield.h \
|
|
|
|
src/wallet.h \
|
2011-06-28 12:41:56 -07:00
|
|
|
src/keystore.h \
|
|
|
|
src/qt/transactionfilterproxy.h \
|
2011-06-30 09:05:29 -07:00
|
|
|
src/qt/transactionview.h \
|
2011-07-03 11:53:56 -07:00
|
|
|
src/qt/walletmodel.h \
|
2011-07-05 13:09:39 -07:00
|
|
|
src/bitcoinrpc.h \
|
2011-07-07 05:27:16 -07:00
|
|
|
src/qt/overviewpage.h \
|
2011-07-09 06:26:57 -07:00
|
|
|
src/qt/csvmodelwriter.h \
|
2011-07-15 07:08:38 -07:00
|
|
|
src/qt/qtwin.h \
|
2011-07-16 10:01:05 -07:00
|
|
|
src/crypter.h \
|
|
|
|
src/qt/sendcoinsentry.h \
|
2011-07-25 12:35:45 -07:00
|
|
|
src/qt/qvalidatedlineedit.h \
|
|
|
|
src/qt/bitcoinunits.h
|
2011-06-11 13:11:58 -07:00
|
|
|
SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
|
|
|
|
src/qt/transactiontablemodel.cpp \
|
|
|
|
src/qt/addresstablemodel.cpp \
|
|
|
|
src/qt/optionsdialog.cpp \
|
|
|
|
src/qt/sendcoinsdialog.cpp \
|
2011-07-07 08:33:15 -07:00
|
|
|
src/qt/addressbookpage.cpp \
|
2011-06-11 13:11:58 -07:00
|
|
|
src/qt/aboutdialog.cpp \
|
|
|
|
src/qt/editaddressdialog.cpp \
|
|
|
|
src/qt/bitcoinaddressvalidator.cpp \
|
|
|
|
src/cryptopp/sha.cpp \
|
|
|
|
src/cryptopp/cpu.cpp \
|
|
|
|
src/util.cpp \
|
|
|
|
src/script.cpp \
|
|
|
|
src/main.cpp \
|
|
|
|
src/init.cpp \
|
|
|
|
src/net.cpp \
|
|
|
|
src/irc.cpp \
|
|
|
|
src/db.cpp \
|
|
|
|
src/json/json_spirit_writer.cpp \
|
|
|
|
src/json/json_spirit_value.cpp \
|
|
|
|
src/json/json_spirit_reader.cpp \
|
|
|
|
src/qt/clientmodel.cpp \
|
|
|
|
src/qt/guiutil.cpp \
|
|
|
|
src/qt/transactionrecord.cpp \
|
|
|
|
src/qt/optionsmodel.cpp \
|
|
|
|
src/qt/monitoreddatamapper.cpp \
|
|
|
|
src/qt/transactiondesc.cpp \
|
2011-06-13 10:24:53 -07:00
|
|
|
src/qt/transactiondescdialog.cpp \
|
2011-06-20 12:31:42 -07:00
|
|
|
src/qt/bitcoinstrings.cpp \
|
2011-06-26 10:23:24 -07:00
|
|
|
src/qt/bitcoinamountfield.cpp \
|
|
|
|
src/wallet.cpp \
|
2011-06-28 12:41:56 -07:00
|
|
|
src/keystore.cpp \
|
|
|
|
src/qt/transactionfilterproxy.cpp \
|
2011-06-30 09:05:29 -07:00
|
|
|
src/qt/transactionview.cpp \
|
2011-07-03 11:53:56 -07:00
|
|
|
src/qt/walletmodel.cpp \
|
2011-07-05 13:09:39 -07:00
|
|
|
src/bitcoinrpc.cpp \
|
2011-07-07 05:27:16 -07:00
|
|
|
src/qt/overviewpage.cpp \
|
2011-07-09 06:26:57 -07:00
|
|
|
src/qt/csvmodelwriter.cpp \
|
2011-07-15 07:08:38 -07:00
|
|
|
src/qt/qtwin.cpp \
|
2011-07-16 10:01:05 -07:00
|
|
|
src/crypter.cpp \
|
|
|
|
src/qt/sendcoinsentry.cpp \
|
2011-07-25 12:35:45 -07:00
|
|
|
src/qt/qvalidatedlineedit.cpp \
|
|
|
|
src/qt/bitcoinunits.cpp
|
2011-05-09 11:44:46 -07:00
|
|
|
|
|
|
|
RESOURCES += \
|
2011-06-11 13:11:58 -07:00
|
|
|
src/qt/bitcoin.qrc
|
2011-05-12 05:44:52 -07:00
|
|
|
|
|
|
|
FORMS += \
|
2011-06-11 13:11:58 -07:00
|
|
|
src/qt/forms/sendcoinsdialog.ui \
|
2011-07-07 08:33:15 -07:00
|
|
|
src/qt/forms/addressbookpage.ui \
|
2011-06-11 13:11:58 -07:00
|
|
|
src/qt/forms/aboutdialog.ui \
|
|
|
|
src/qt/forms/editaddressdialog.ui \
|
2011-07-05 13:09:39 -07:00
|
|
|
src/qt/forms/transactiondescdialog.ui \
|
2011-07-16 10:01:05 -07:00
|
|
|
src/qt/forms/overviewpage.ui \
|
|
|
|
src/qt/forms/sendcoinsentry.ui
|
2011-06-12 05:32:36 -07:00
|
|
|
|
|
|
|
CODECFORTR = UTF-8
|
2011-07-07 12:19:25 -07:00
|
|
|
TRANSLATIONS = src/qt/locale/bitcoin_nl.ts src/qt/locale/bitcoin_de.ts
|