Skip to content

CMakePresets.json: Rework how --preset argument is handled

Kyle Edwards requested to merge kyle.edwards/cmake:cmake-presets-path-arg into master

If a path argument with no -S or -B leads to a cache directory, use that directory as the binary directory. Otherwise, use the binary directory from the preset.

Fixes: #21311 (closed)
Backport: release

Merge request reports