Bump CMakePresets.json schema version to 2 for CMake Tools compatibility - #149
Open
djkees wants to merge 1 commit into
Open
Bump CMakePresets.json schema version to 2 for CMake Tools compatibility#149djkees wants to merge 1 commit into
djkees wants to merge 1 commit into
Conversation
(cherry picked from commit 6d246a1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump
CMakePresets.json's schemaversionfrom 1 to 2 (and the accompanyingcmakeMinimumRequired.minorfrom 19 to 20). Schema version 1 is deprecated by CMake, and VS Code's CMake Tools extension warns / can fail to load presets correctly against it.Changes
CMakePresets.json:version: 1 -> 2,cmakeMinimumRequired.minor: 19 -> 20. No preset behavior changes — schema v2 is backward compatible with the fields already in use here.Testing
CMakePresets.json(configurePresetskeys in use) are valid under CMake's schema v2 by checking against CMake's presets schema documentation. Did not execute a full local build of every preset as part of this PR — the change is a metadata-only version bump with no new or altered preset fields, so no build-behavior change is expected.Compatibility / Numerical behavior
Build-configuration-only change; no solver, binding, or data-file code is touched.
Drafted with Claude's assistance.