Extension for CMake Presets
Released version with CMake Presets can be upgraded to add some useful features. Some of them are:
- User should be able to specify his user file instead of being forced to edit
user.json
file anduser_options.json
. - Overwrite should be stop/have a warning in case of several
CMakeUserPresets.json
in the same folder. - The documentation
readme-docs/Presets-advanced.md
should be edit to fit with the new CMake Presets format to be relevant. - Move
user.json
,user_options.json
and the script to a separate folder. - Later, move the script into a separate repository. Adapt the documentation to be completly independent from the proxy-geos.
- Add the possibility of multiple inheritage. For example, it would be possible to specify "a+b" to inherit from preset "a" and "b".
- Job parallelism should be free to users and not hard coded in the script (one good way could be to use inheritage in build presets to inherit from a helper presets, here to define some general properties of build presets. This could also be done for test presets to specify general properties.)
- Linked to the previous one, user can write base presets for test, build or configure that will be inherited by generated presets (Can be used for optimization -O discussion)
Edited by Jerome Charousset