cmake-presets: Make generator and binaryDir fields optional
In v3 of the presets, generator and buildDir can be omitted to fall back to regular cmake behavior when these values are not explicitly provided by the user. Fixes: #21987
Showing
- Help/manual/cmake-presets.7.rst 5 additions, 2 deletionsHelp/manual/cmake-presets.7.rst
- Help/manual/presets/schema.json 8 additions, 0 deletionsHelp/manual/presets/schema.json
- Help/release/dev/cmake-presets-optional-generator-and-binarydir.rst 5 additions, 0 deletions...se/dev/cmake-presets-optional-generator-and-binarydir.rst
- Source/QtDialog/QCMake.cxx 1 addition, 1 deletionSource/QtDialog/QCMake.cxx
- Source/cmCMakePresetsFile.cxx 22 additions, 16 deletionsSource/cmCMakePresetsFile.cxx
- Source/cmCMakePresetsFile.h 4 additions, 4 deletionsSource/cmCMakePresetsFile.h
- Source/cmake.cxx 6 additions, 3 deletionsSource/cmake.cxx
- Tests/RunCMake/CMakePresets/OptionalBinaryDirField.cmake 3 additions, 0 deletionsTests/RunCMake/CMakePresets/OptionalBinaryDirField.cmake
- Tests/RunCMake/CMakePresets/OptionalBinaryDirField.json.in 9 additions, 0 deletionsTests/RunCMake/CMakePresets/OptionalBinaryDirField.json.in
- Tests/RunCMake/CMakePresets/OptionalGeneratorField.cmake 3 additions, 0 deletionsTests/RunCMake/CMakePresets/OptionalGeneratorField.cmake
- Tests/RunCMake/CMakePresets/OptionalGeneratorField.json.in 9 additions, 0 deletionsTests/RunCMake/CMakePresets/OptionalGeneratorField.json.in
- Tests/RunCMake/CMakePresets/RunCMakeTest.cmake 5 additions, 0 deletionsTests/RunCMake/CMakePresets/RunCMakeTest.cmake
Loading
Please register or sign in to comment