Skip to content

presets: Accept '--preset=<preset>' and '--preset <preset>' everywhere

Brad King requested to merge brad.king/cmake:preset-flag-consistency into master

The configure preset cmake --preset argument accepts both --preset=<preset> and --preset <preset> forms, but only one was documented. Document both, and add support for both forms to cmake --build --preset and ctest --preset too.

Fixes: #21855 (closed)
Backport: release

Merge request reports