[cmake] Added build and test presets
CMake 3.19 and !3428 (merged) introduced configure presets. CMake 3.20 and this MR introduce build and test presets.
With this MR you can configure, build and test ogs with these commands:
cmake -S . --preset release
cmake --build --preset release
ctest --preset release
Requires CMake 3.20 (soft-requirement when using the presets).
-
Feature description was added to the changelog -
Any new feature or behavior change was documented?