microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.43k stars 429 forks source link

Fixes #3725 - user presets not read correctly #3826

Closed qarni closed 1 week ago

qarni commented 2 weeks ago

Fixes #3725

Fixes issue where new presets couldn't inherit from configure presets in CmakeUserPresets.json, and couldn't expand from other build/test/package presets.

Presets that have a parent in CmakeUserPresets.json are now added to CmakeUserPresets.json instead of CmakePresets.json.

Updated WorkflowPreset class to not extend Preset to adhere to https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html#workflow-preset

Open to suggestions on a better interface name than "ConfigurePresetInheritPreset" :)