Difference between revisions of "CMake"

From HPC Wiki
Jump to navigation Jump to search
(Created page with "'cmake' is not 'make' but use it!")
 
Line 1: Line 1:
 
'cmake' is not 'make' but use it!
 
'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 [https://cmake.org/ CMake website].

Revision as of 14:09, 10 January 2019

'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.