-
Notifications
You must be signed in to change notification settings - Fork 6
Description
All build options effectively are cache variables, whose values persist across multiple runs within a project build tree.
From the Professional CMake: A Practical Guide 18th Edition:
Cache variables are primarily intended as a customization point for developers.
The current (@ 9857482) build option set being presented in the CMake GUI tool looks as follows:
Please note that selecting the "Grouped" checkbox groups variables together based on the start of the variable name up to the first underscore. CMake reserves names that begin with CMAKE_
.
- The group of
BUILD_*
options is presented in the "Executables" and "Tests" sections of the "Configure summary".
Please note, that CMake's CTest module:
automatically creates a
BUILD_TESTING
option...
- The group of
WITH_*
options is presented in the "Wallet support" and "Optionalpackagesfeatures" section of the "Configure summary".
However, the MULTIPROCESS
option has no WITH_
prefix.
- Switching to upstream CMake-based build systems for subtrees (see cmake: Switch to libsecp256k1 upstream build system #192) will expose their own options. Thus, libsecp256k1 introduces
SECP256K1_*
names.
This issue aims to gather suggestions and opinions regarding better naming. Please vote for each suggestion using 👍 for approval and 👎 for disapproval.