- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
|In software development, cmake is a cross-platform, open-source configuration and build system. A file called CMakeLists.txt specifies how to derive the target program from each of its dependencies. It combines the normal build toolchain - which consists of the autotools, configure script and make under Unix/Linux - in a single portable way.||
If your program shall be build for the compute nodes there is a special cmake module which has to be used instead of the system one.
Then create a file "toolchain.cmake" with the following content:
To build your program call cmake using this toolchain: