Add CMakePresets.json with the following configure/build presets
gnu-debug / gnu-release - mpif90 (GNU), builds into build/
nvidia-debug / nvidia-release - mpif90 wrapping nvfortran (via OMPI_FC/MPICH_FC), builds into build-cuda/
gnu-debug-adios2 / nvidia-debug-adios2 - inherit from base with WITH_ADIOS2=ON
No compiler flags needed in presets (already auto-detected by compiler ID in src/CMakeLists.txt). Requires CMake 3.21+
Currently CMakeLists.txt sets min to 3.10, the preset file has its own cmakeMinimumRequired so it'll just error on the present commands but we may want to bump the min in CMakeListst.txt
Add
CMakePresets.jsonwith the following configure/build presetsgnu-debug/gnu-release-mpif90(GNU), builds into build/nvidia-debug/nvidia-release-mpif90wrappingnvfortran(viaOMPI_FC/MPICH_FC), builds intobuild-cuda/gnu-debug-adios2/nvidia-debug-adios2- inherit from base withWITH_ADIOS2=ONNo compiler flags needed in presets (already auto-detected by compiler ID in
src/CMakeLists.txt). Requires CMake 3.21+Currently CMakeLists.txt sets min to 3.10, the preset file has its own
cmakeMinimumRequiredso it'll just error on the present commands but we may want to bump the min inCMakeListst.txt