forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #198: cmake: Consistent build option naming
79c3c89 cmake: Group port mapping in summary (Hennadii Stepanov) 18abbb9 cmake: Rework wallet report in summary (Hennadii Stepanov) 7c151e7 cmake: Rename option `WITH_EXTERNAL_SIGNER` to `ENABLE_EXTERNAL_SIGNER` (Hennadii Stepanov) 41a2159 cmake: Rename build option `THREADLOCAL` to `ENABLE_THREADLOCAL` (Hennadii Stepanov) bed5fea cmake: Rename build option `MULTIPROCESS` to `WITH_MULTIPROCESS` (Hennadii Stepanov) 9d6ebf4 cmake: Rename build option `HARDENING` to `ENABLE_HARDENING` (Hennadii Stepanov) 576251f cmake: Rename build option `FUZZ` to `ENABLE_FUZZ` (Hennadii Stepanov) 2a8aba3 cmake: Rename build option `CCACHE` to `WITH_CCACHE` (Hennadii Stepanov) Pull request description: Based on #194 (comment). ### The build option naming convention 1. `BUILD_*` options control what binaries and libraries are built. 2. `ENABLE_*` options control what features are turned on. If a feature is fully implemented in a standalone binary, a `BUILD_*` option should be used. For example, `BUILD_GUI`. 3. `WITH_*` options control what dependencies are turned on (internally, a CMake command `find_*` is used). --- The resulted build option set being presented in the CMake GUI tool looks as follows: ![image](https://github.com/hebasto/bitcoin/assets/32963518/10e3f241-6649-437d-a698-d57ed14501b1) An example of the configure summary: ``` Configure summary ================= Executables: bitcoind ............................ ON bitcoin-node (multiprocess) ......... OFF bitcoin-qt (GUI) .................... OFF bitcoin-gui (GUI, multiprocess) ..... OFF bitcoin-cli ......................... ON bitcoin-tx .......................... ON bitcoin-util ........................ ON bitcoin-wallet ...................... ON bitcoin-chainstate (experimental) ... OFF libbitcoinkernel (experimental) ..... OFF Optional features: wallet support ...................... ON - descriptor wallets (SQLite) ...... ON - legacy wallets (Berkeley DB) ..... OFF external signer ..................... ON port mapping: - using NAT-PMP .................... OFF - using UPnP ....................... OFF ZeroMQ .............................. OFF USDT tracing ........................ OFF QR code (GUI) ....................... OFF DBus (GUI, Linux only) .............. OFF Tests: test_bitcoin ........................ ON test_bitcoin-qt ..................... OFF bench_bitcoin ....................... ON fuzz binary ......................... ON ... ``` Closes #194. Top commit has no ACKs. Tree-SHA512: 21ab517502c11b92e7c173e9390311c470d481fd533671dc9445f4673dfedf76b96ff09dfa52d3c93dcc64e97c561d3ef75c70f7dc0ca513d7d6ff3cfff7368e
- Loading branch information
Showing
13 changed files
with
56 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters