Presets: value field of cache variables should support boolean type
Originally mentioned in !5366 (comment 845728)
In a CMakePresets.json
or CMakeUserPresets.json
file, cache variables currently only support being specified as a quoted string. If the variable type is BOOL
, then it should also be legal to specify the value as a JSON boolean (i.e. true
or false
without quotes). This should be accounted for in both the implementation and the JSON schema.
Edited by Craig Scott