@@ -107,42 +107,45 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT CMAKE_HOST_APPLE)
107107 set (CMAKE_FRAMEWORK_PATH "@OSX_SDK@/System/Library/Frameworks" )
108108endif ()
109109
110+ # Ensure that the docstrings in the following `set(... CACHE ...)`
111+ # commands match those in the root CMakeLists.txt file.
112+
110113if (NOT WITH_GUI AND "@no_qt@" STREQUAL "1" )
111- set (WITH_GUI OFF CACHE STRING "" )
114+ set (WITH_GUI OFF CACHE STRING "Build GUI. " )
112115endif ()
113116
114117if (NOT WITH_QRENCODE AND "@no_qr@" STREQUAL "1" )
115- set (WITH_QRENCODE OFF CACHE STRING "" )
118+ set (WITH_QRENCODE OFF CACHE STRING "Enable QR code support. " )
116119endif ()
117120
118121if (NOT WITH_ZMQ AND "@no_zmq@" STREQUAL "1" )
119- set (WITH_ZMQ OFF CACHE STRING "" )
122+ set (WITH_ZMQ OFF CACHE STRING "Enable ZMQ notifications. " )
120123endif ()
121124
122125if (NOT ENABLE_WALLET AND "@no_wallet@" STREQUAL "1" )
123- set (ENABLE_WALLET OFF CACHE BOOL "" )
126+ set (ENABLE_WALLET OFF CACHE BOOL "Enable wallet. " )
124127endif ()
125128
126129if (NOT WITH_BDB AND "@no_bdb@" STREQUAL "1" )
127- set (WITH_BDB OFF CACHE STRING "" )
130+ set (WITH_BDB OFF CACHE STRING "Enable Berkeley DB (BDB) wallet support. " )
128131endif ()
129132
130133if (NOT WITH_SQLITE AND "@no_sqlite@" STREQUAL "1" )
131- set (WITH_SQLITE OFF CACHE STRING "" )
134+ set (WITH_SQLITE OFF CACHE STRING "Enable SQLite wallet support. " )
132135endif ()
133136
134137if (NOT WITH_MINIUPNPC AND "@no_upnp@" STREQUAL "1" )
135- set (WITH_MINIUPNPC OFF CACHE STRING "" )
138+ set (WITH_MINIUPNPC OFF CACHE STRING "Enable UPnP. " )
136139endif ()
137140
138141if (NOT WITH_NATPMP AND "@no_natpmp@" STREQUAL "1" )
139- set (WITH_NATPMP OFF CACHE STRING "" )
142+ set (WITH_NATPMP OFF CACHE STRING "Enable NAT-PMP. " )
140143endif ()
141144
142145if (NOT WITH_USDT AND "@no_usdt@" STREQUAL "1" )
143- set (WITH_USDT OFF CACHE STRING "" )
146+ set (WITH_USDT OFF CACHE STRING "Enable tracepoints for Userspace, Statically Defined Tracing. " )
144147endif ()
145148
146149if (NOT HARDENING AND "@no_harden@" STREQUAL "1" )
147- set (HARDENING OFF CACHE STRING "" )
150+ set (HARDENING OFF CACHE STRING "Attempt to harden the resulting executables. " )
148151endif ()
0 commit comments