An optional array of strings representing the names of presets to inherit from. The preset will inherit all of the fields from the inherits presets by default (except name, hidden, inherits, description, and displayName), but can override them as desired. If multiple inherits presets provide conflicting values for the same field, the earlier preset in the inherits list will be preferred. Presets in CMakePresets.json may not inherit from presets in CMakeUserPresets.json.
I have a question especially about except inherits. What does this mean?
- Your preset will not add the parents parent into inherits, but will still have settings from the parents parents
- Your preset will only get settings from the parent, not from the parents parent