|
|
|
@ -66,6 +66,7 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/module)
|
|
|
|
|
#=============================
|
|
|
|
|
# When adding a new option, end the <help_text> with a full stop for consistency.
|
|
|
|
|
option(BUILD_DAEMON "Build bitcoind executable." ON)
|
|
|
|
|
option(BUILD_CLI "Build bitcoin-cli executable." ON)
|
|
|
|
|
|
|
|
|
|
option(WITH_CCACHE "Attempt to use ccache for compiling." ON)
|
|
|
|
|
|
|
|
|
@ -193,7 +194,7 @@ target_link_libraries(core_interface INTERFACE
|
|
|
|
|
include(AddBoostIfNeeded)
|
|
|
|
|
add_boost_if_needed()
|
|
|
|
|
|
|
|
|
|
if(BUILD_DAEMON)
|
|
|
|
|
if(BUILD_DAEMON OR BUILD_CLI)
|
|
|
|
|
find_package(Libevent 2.1.8 MODULE REQUIRED)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
@ -228,6 +229,7 @@ message("Configure summary")
|
|
|
|
|
message("=================")
|
|
|
|
|
message("Executables:")
|
|
|
|
|
message(" bitcoind ............................ ${BUILD_DAEMON}")
|
|
|
|
|
message(" bitcoin-cli ......................... ${BUILD_CLI}")
|
|
|
|
|
message("")
|
|
|
|
|
message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}")
|
|
|
|
|
include(FlagsSummary)
|
|
|
|
|