Version restriction of CMakePresets
See original GitHub issueBrief Issue Summary
1.7.0 restricts CMakePresets.json to version 2 and above. As this version was only introduced recently (with CMake 3.20; End of March 2021), what is the reason to disallow version 1 (3.19) files?
Expected:
(Reintroduce) Support for
{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
[...]
}
Apparent Behavior:
Error is shown:
CMakePresets version 1 is not supported. How would you like to proceed?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
[question] CMakePresets and Visual Studio 2019 / 2022 ...
The choice of targeting schema version 4 means VS2019 / VS2022 are necessarily excluded from consuming some or all of these generated files....
Read more >cmake-presets(7) — CMake 3.25.1 Documentation
An optional array of Configure Preset objects. This is allowed in preset files specifying version 1 or above. buildPresets. An optional array of...
Read more >CMake Presets | nanoFramework Documentation
This document describes how to use and modify the CMakePresets.json and ... "BUILD_VERSION" : "version-number-for-the-build-format-is-N.N.N.N".
Read more >Need a file which stores preset build options - GitLab
I'm on the Visual C++ team at Microsoft, and we've been designing a version 2 of CMakeSettings.json . We'd love to align instead...
Read more >CMake Presets in Practice - PSPDFKit
Having the presets defined in version control in a single location helps when communicating between, or even within, teams. Which build flavor is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is by design. Version 2 supports build and test presets. However, we do support all versions of cmake so you can use version 2 + cmake 3.19. @esweet431
Closing this as it is not on our roadmap and we also don’t have resources to implement and then maintain this scenario.