One-step build/install CMake 3

less than 1 minute read

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

CMake version features added include
3.12 transitive library specification (out of same directory)
3.11 specify targets intially w/o sources
3.10 added Fortran Flang (LLVM) compiler, extensive MPI features added
3.9 further C# and Cuda support originally added in CMake 3.8.

Compile/Install CMake

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

  • Linux: Download/build/install Cmake 3 using
  • Mac: brew install cmake
  • Windows: use Windows win64-x64 installer

Leave a Comment