Modernize CMake: works with all compilers tried (GCC, Clang, Visual Studio, NVIDIA HPC, Intel oneAPI). Modern CMake emits warnings for minimum version < 3.5. CMake >= 3.10 has modern OpenMP targets.
Default to Release build (was not taking effect before).
Add -Wall
Modernize CMake: works with all compilers tried (GCC, Clang, Visual Studio, NVIDIA HPC, Intel oneAPI). Modern CMake emits warnings for minimum version < 3.5. CMake >= 3.10 has modern OpenMP targets. Default to Release build (was not taking effect before). Add -Wall
fixes #12