Skip to content

[cmake] Added build and test presets

Lars Bilke requested to merge bilke/ogs:build-presets into master

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).

  1. Feature description was added to the changelog
  2. Any new feature or behavior change was documented?

Merge request reports