
To maintain a pristine source tree, perform an Tree and store persistent information such as buildsystem configuration Write a CMakeCache.txt file to identify the directory as a build executables and libraries) are to be stored. Build Tree The top-level directory in which buildsystem files and build outputĪrtifacts (e.g. These files specify build targets and theirĭependencies as described in the cmake-buildsystem(7) manual. The project specifies its buildsystem using files as described in theĬmake-language(7) manual, starting with a top-level file namedĬMakeLists.txt. Tree The top-level directory containing source files provided by the project.

To generate a buildsystem with CMake, the following must be Generates a preferred buildsystem locally for each user through a backend Using files written in the CMake language. Multiple such buildsystems, a project may specify its buildsystem abstractly Integrated Development Environment (IDE). For example, a buildsystem may be a Makefileįor use with a command-line make tool or a project file for an
#Install cmake arch linux arm how to
INTRODUCTION TO CMAKE BUILDSYSTEMSĪ buildsystem describes how to build a project'sĮxecutables and libraries from its source code using a build tool toĪutomate the process. Interfaces to the CMake testing and packaging facilities, see ctestįor more information on CMake at large, see also the linksĪt the end of this manual. Scripts in the CMake language to support their builds.įor graphical user interfaces that may be used in place ofĬmake, see ccmake and cmake-gui.

The other actions are meant for use by software developers writing Install a Project or just run the corresponding build tool (e.g. To build a software project with CMake, Generate a Projectīuildsystem. Various actions the tool can perform as described in sections below. The cmake executable is the command-line interface of theĬross-platform buildsystem generator CMake.
