cmake --build: Improve errors when no preset is specified

Add a better error message and tests to verify.
6 files changed