Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 8: [PATCH 08/17] chore(roots): integrate v31 identity and maintenance tooling

src/qt/CMakeLists.txt

Before: src/qt/CMakeLists.txt · After: src/qt/CMakeLists.txt

File metadata
index d9486b97eb7dce76909e4a42995b9a835e4fd49c..4d127da82d12bf840318a832a6710a5158a30490 100644

Download original patch · Release notes

Diff rows 1–22 of 22. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/CMakeLists.txt CHANGED
@@ -241,6 +241,11 @@ if(WITH_DBUS)
241
  target_link_libraries(bitcoinqt PRIVATE Qt${WITH_QT_VERSION}::DBus)
242
  endif()
243
 
 
 
 
 
 
244
  if(qt_lib_type STREQUAL "STATIC_LIBRARY")
245
  # We want to define static plugins to link ourselves, thus preventing
246
  # automatic linking against a "sane" set of default static plugins.
@@ -270,7 +275,10 @@ add_executable(bitcoin-qt
270
  ../init/bitcoin-qt.cpp
271
  )
272
 
273
- add_windows_resources(bitcoin-qt res/bitcoin-qt-res.rc)
 
 
 
274
  add_windows_application_manifest(bitcoin-qt)
275
 
276
  target_link_libraries(bitcoin-qt
 
241
  target_link_libraries(bitcoinqt PRIVATE Qt${WITH_QT_VERSION}::DBus)
242
  endif()
243
 
244
+ if(WITH_TASKBAR_PROGRESS)
245
+ target_sources(bitcoinqt PRIVATE wintaskbarprogress.cpp wintaskbarprogress.h)
246
+ target_link_libraries(bitcoinqt PRIVATE ole32)
247
+ endif()
248
+
249
  if(qt_lib_type STREQUAL "STATIC_LIBRARY")
250
  # We want to define static plugins to link ourselves, thus preventing
251
  # automatic linking against a "sane" set of default static plugins.
 
275
  ../init/bitcoin-qt.cpp
276
  )
277
 
278
+ if(WIN32)
279
+ configure_file(res/bitcoin-qt-res.rc res/bitcoin-qt-res.rc USE_SOURCE_PERMISSIONS @ONLY)
280
+ add_windows_resources(bitcoin-qt ${CMAKE_CURRENT_BINARY_DIR}/res/bitcoin-qt-res.rc)
281
+ endif()
282
  add_windows_application_manifest(bitcoin-qt)
283
 
284
  target_link_libraries(bitcoin-qt