Fork me on GitHub


CMake is a build tool commonly used when compiling other libraries.


CMake can be loaded with:

module load dev/cmake/3.7.1/gcc-4.9.4

NB CMake has a run-time dependency on libstdc++ so the above also needs to (and does) load the GCC compiler version 4.9.4.

Usage often involves:

  1. Creating and cd-ing into a dedicated build directory within a source tree then
  2. Running something like cmake -DSOME_OPTION -DANOTHER_OPTION ..


Version 3.7.1

  1. Install using this script
  2. Install this modulefile as /usr/local/modulefiles/dev/cmake/3.7.1/gcc-4.9.4