Closed Susko3 closed 8 months ago
As you already mentioned the appropriate fix for the issue (create a hidden "template" preset with global values), would you be willing to open a PR to fix this accordingly?
I'm not too familiar with cmake presets, and there are currently a bunch of configurations for different operating systems. So I don't feel confident about changing things.
I was hoping someone with more experience would pick up my idea.
Operating System Info
Windows 11
Expected Behavior
I should be able to change the values of
ENABLE_FRONTEND_API
andENABLE_QT
in one place and have them apply to all operating systems.Current Behavior
I have to change
ENABLE_FRONTEND_API
and/orENABLE_QT
on each OS I support.Steps to Reproduce
CMakePresets.json
and quickly realise you need to set the same value multiple times, leading to possible user-errorsAnything else we should know?
Using inheritance and a single preset for the two cross-platform variables makes sense as a solution.