Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13711288
D1087.id2859.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D1087.id2859.diff
View Options
diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt
--- a/src/qt/CMakeLists.txt
+++ b/src/qt/CMakeLists.txt
@@ -49,6 +49,9 @@
forms/transactiondescdialog.ui
)
+# Qt MOC
+set(CMAKE_AUTOMOC ON)
+
# Handle qrc resources
qt5_add_resources(QRC_BITCOIN_CPP bitcoin.qrc)
@@ -57,6 +60,29 @@
protobuf_generate_cpp(PROTOBUF_SOURCES PROTOBUF_HEADERS paymentrequest.proto)
add_library(bitcoin-qt-base
+ bantablemodel.cpp
+ bitcoinaddressvalidator.cpp
+ bitcoinamountfield.cpp
+ bitcoingui.cpp
+ bitcoinunits.cpp
+ clientmodel.cpp
+ csvmodelwriter.cpp
+ guiutil.cpp
+ intro.cpp
+ modaloverlay.cpp
+ networkstyle.cpp
+ notificator.cpp
+ optionsdialog.cpp
+ optionsmodel.cpp
+ peertablemodel.cpp
+ platformstyle.cpp
+ qvalidatedlineedit.cpp
+ qvaluecombobox.cpp
+ rpcconsole.cpp
+ splashscreen.cpp
+ trafficgraphwidget.cpp
+ utilitydialog.cpp
+
# Handle ui files
${UI_GENERATED_HEADERS}
@@ -71,3 +97,24 @@
${QRC_BITCOIN_CPP}
qrc_bitcoin_locale.cpp
)
+
+# Windows support
+if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
+ target_sources(bitcoin-qt-base PRIVATE winshutdownmonitor.cpp)
+endif()
+
+target_include_directories(bitcoin-qt-base
+ PUBLIC
+ .
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/forms
+ ${Protobuf_INCLUDE_DIRS}
+)
+
+target_link_libraries(bitcoin-qt-base
+ server
+ rpcclient
+ Qt5::Widgets
+ Qt5::Network
+ ${Protobuf_LIBRARIES}
+)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 11:22 (16 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5573398
Default Alt Text
D1087.id2859.diff (1 KB)
Attached To
D1087: Build bitcoin-qt-base library using cmake.
Event Timeline
Log In to Comment