One-step build/install CMake 3

CMake 3 adds clean factory macros, especially for Fortran, HDF5, and Matlab.

Because of rapidly growing support, Fortran users are always encouraged to use the latest CMake version.

Compile/Install CMake

This will get you the latest release of CMake. For Linux and Mac, admin/sudo is NOT required.

CMake major versions

CMake versionfeatures added include
3.13ctest --progress, better Matlab compiler support, lots of new linking options, fixes to Fortran submodule bugs
3.12transitive library specification (out of same directory), full Fortran Submodule support
3.11specify targets initially w/o sources
3.10added Fortran Flang (LLVM) compiler, extensive MPI features added
3.9further C# and Cuda support originally added in CMake 3.8.
3.8Initial Cuda support
3.7comparing ≤ ≥ , initial Fortran submodule support
3.6better OpenBLAS support
3.5Enhanced FindBoost target with auto Boost prereqs
3.4Limit CPU usage when using ctest -j parallel tests
3.3List operations such as IN_LIST