Make --build accept --preset to deduce the build directory
Currently I configure with cmake --preset=foo
but then I have to open the CMakePresets.json, copy the buildDir, and pass it to --build
which is annoying.
Doing cmake --preset=foo && cmake --build --preset=foo
would be convenient