File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,8 @@ endif()
152
152
153
153
cmake_dependent_option (WITH_SV2 "Enable Stratum v2 functionality." ON "NOT WIN32" OFF )
154
154
155
+ cmake_dependent_option (BUILD_MINE "Build experimental bitcoin-mine executable." ON "ENABLE_IPC;WITH_SV2" OFF )
156
+
155
157
cmake_dependent_option (BUILD_GUI_TESTS "Build test_bitcoin-qt executable." ON "BUILD_GUI;BUILD_TESTS" OFF )
156
158
if (BUILD_GUI )
157
159
set (qt_components Core Gui Widgets LinguistTools )
@@ -211,6 +213,7 @@ if(BUILD_FOR_FUZZING)
211
213
set (BUILD_TX OFF )
212
214
set (BUILD_UTIL OFF )
213
215
set (BUILD_UTIL_CHAINSTATE OFF )
216
+ set (BUILD_MINE OFF )
214
217
set (BUILD_KERNEL_LIB OFF )
215
218
set (BUILD_WALLET_TOOL OFF )
216
219
set (BUILD_GUI OFF )
@@ -697,6 +700,7 @@ message(" USDT tracing ........................ ${WITH_USDT}")
697
700
message (" QR code (GUI) ....................... ${WITH_QRENCODE} " )
698
701
message (" DBus (GUI) .......................... ${WITH_DBUS} " )
699
702
message (" Stratum v2 .......................... ${WITH_SV2} " )
703
+ message (" bitcoin-mine (multiprocess) ......... ${BUILD_MINE} " )
700
704
message ("Tests:" )
701
705
message (" test_bitcoin ........................ ${BUILD_TESTS} " )
702
706
message (" test_bitcoin-qt ..................... ${BUILD_GUI_TESTS} " )
Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ if(ENABLE_IPC AND BUILD_DAEMON)
373
373
)
374
374
install_binary_component (bitcoin-node )
375
375
376
- if (WITH_SV2 )
376
+ if (BUILD_MINE )
377
377
add_executable (bitcoin-mine
378
378
bitcoin-mine.cpp
379
379
init/basic.cpp
You can’t perform that action at this time.
0 commit comments