A few suggestions for the nice preset feature
- preset include other files
There is currently only possible to have presets read from two files in the root directory:
It is not possible to include this information from other directories.
This would be useful for having similar setup for separate applications.
Automatically including the parent directory would be a way, I would prefer to explicitly specify the include file (that may be recursive).
I believe this could somehow be a solution for Help converting most of a CI matrix to presets? too. Yuo will have to configure all variants but that could be generated which is easier than parsing.
support to preload cache
Similar to what
cmake -C f<file>provides
support for --install --preset=
Similar to --build --prefix=
configure allows “installDir” but
cmake --installrequires the binaryDir still.
A workaround in Install components with presets
or by parsing the .json files