presets: Can't invoke `cmake --install` with binary dir in preset
It is possible to run configure and build phases without specifying binary directory on command line:
cmake -S . --preset default
cmake --build --preset default
If there is default
configure preset that sets binaryDir
field, and default
build preset that inherits from default
configure preset, then both these commands will use binaryDir
defined in default
configure preset. However, there is no way to invoke cmake --install
the same way - one will have to explicitly specify binary directory after --install
argument.
Edited by Brad King