Skip to content

Bump CMakePresets.json schema version to 2 for CMake Tools compatibility - #149

Open
djkees wants to merge 1 commit into
nasa:mainfrom
djkees:up/cmakepresets-schema-version
Open

Bump CMakePresets.json schema version to 2 for CMake Tools compatibility#149
djkees wants to merge 1 commit into
nasa:mainfrom
djkees:up/cmakepresets-schema-version

Conversation

@djkees

@djkees djkees commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Bump CMakePresets.json's schema version from 1 to 2 (and the accompanying cmakeMinimumRequired.minor from 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

  • Confirmed the fields already present in CMakePresets.json (configurePresets keys 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

  • No expected changes to numerical results
  • Expected changes (explain and provide validation)

Build-configuration-only change; no solver, binding, or data-file code is touched.


Drafted with Claude's assistance.

  • The schema version bump was checked against CMake's own presets schema documentation (v2 field/version requirements) rather than assumed compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant