Load necessary modules:
module load CMake
module load binutils
module load git
Build the program:
git clone [email protected]:rscherrer/setupp.git
cd setupp
cp CMakeLists_user.txt CMakeLists.txt # for user config, or CMakeLists_devel.txt CMakeLists.txt for developer config
git submodule update --init --remote
mkdir build && cd build
cmake ..
cmake --build .
The executable setupp
is built in ../bin/
.
Make sure that the loaded version of CMake is adequate with respect to the version required in CMakeLists.txt
.
Explore available versions with module spider CMake
and replace CMake
in module load CMake
by the version required, if any error occurs (you can also change the required version in CMakeLists.txt
).