Attention

Following the recent operating system upgrade, software listings and module load commands now reflect the upgraded system. Some examples and notices are still being updated and may contain outdated guidance.

CMake

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

Usage

After connecting to Stanage (see Establishing a SSH connection), start an interactive session with the following command:

srun --pty bash -i

CMake can be loaded with one of:

module load CMake/4.2.1-GCCcore-15.2.0
module load CMake/4.0.3-GCCcore-14.3.0
module load CMake/3.31.8-GCCcore-14.3.0
module load CMake/3.31.3-GCCcore-14.2.0
module load CMake/3.29.3-GCCcore-13.3.0
module load CMake/3.27.6-GCCcore-13.2.0
module load CMake/3.26.3-GCCcore-12.3.0
module load CMake/3.24.3-GCCcore-12.2.0

Usage of CMake 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 ..

Direct dependencies for latest version of CMake