CMake

From HPC Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

'cmake' is not 'make' but use it!

CMake is an open-source cross-platform build system generator. It is especially useful if an application depends on several other directories (e.g. libraries) in addition to code or if certain parts need to be compiled and linked in a specific order. The build process is controlled by CMakeLists.txt files which consist of commands and arguements and must be present in all directories, including subdirectories. It is possible to use both predefined and custom commands.

Further information aswell as tutorials are available on the CMake website.