Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CMake preset version 6 and above #11863

Closed
nhbusch opened this issue Jan 15, 2024 · 1 comment
Closed

Support CMake preset version 6 and above #11863

nhbusch opened this issue Jan 15, 2024 · 1 comment

Comments

@nhbusch
Copy link

nhbusch commented Jan 15, 2024

Feature Request

Currently, it seems parsing a CMake preset file using fields introduced in version 6 and above, notably workflow and package presets, fails resulting in not recognizing any valid configure and build presets.

It would be great if this extension would support preset schema versions 6 and above or at least ignore any fields that were introduced in a version later than the one supported by this extension It would be even greater if workflow and package presets were supported (if it makes sense to map a workflow preset to the way this extension handles configure and build steps/targets).

@bobbrow
Copy link
Member

bobbrow commented Jan 16, 2024

Hello @nhbusch,
Thank you for your feedback. I believe this issue is tracked by microsoft/vscode-cmake-tools#2871, so we will close as a duplicate instead of moving it over to the CMake Tools repository. In the meantime, you should be able to get past the unsupported elements of your presets by enabling the cmake.allowUnsupportedPresetsVersions setting.

@bobbrow bobbrow closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants