Package cmake

Cross-platform make system

http://www.cmake.org

CMake is used to control the software compilation process using simple
platform and compiler independent configuration files. CMake generates
native makefiles and workspaces that can be used in the compiler
environment of your choice. CMake is quite sophisticated: it is possible
to support complex environments requiring system configuration, preprocessor
generation, code generation, and template instantiation.

General Commands (Section 1)
ccmake
The "ccmake" executable is the CMake curses interface. Project configuration settings may be specified interactively through this GUI. Brief instructions are...
cmake
The "cmake" executable is the CMake command-line interface. It may be used to configure projects in scripts. Project configuration settings may be specified on...
cpack
The "cpack" executable is the CMake packaging program. CMake-generated build trees created for projects that use the INSTALL_* commands have packaging support...
ctest
The "ctest" executable is the CMake test driver program. CMake-generated build trees created for projects that use the ENABLE_TESTING and ADD_TEST commands have...
Miscellanea (Section 7)
cmake-buildsystem
A CMake-based buildsystem is organized as a set of high-level logical targets. Each target corresponds to an executable or library, or is a custom target...
cmake-commands
These commands may be used freely in CMake projects.add_compile_options Adds options to the compilation of source files.add_custom_command Add a custom build...
cmake-compile-features
Project source code may depend on, or be conditional on, the availability of certain features of the compiler. There are three use-cases which arise: Compile...
cmake-developer
This manual is intended for reference by developers modifying the CMake source tree itself.
cmake-generator-expressions
Generator expressions are evaluated during build system generation to produce information specific to each build configuration. Generator expressions are...
cmake-generators
A CMake Generator is responsible for writing the input files for a native build system. Exactly one of the CMake Generators must be selected for a build tree to...
cmake-language
CMake input files are written in the "CMake Language" in source files named CMakeLists.txt or ending in a .cmake file name extension.
cmake-modules
AddFileDependencies ADD_FILE_DEPENDENCIES(source_file depend_files...) Adds the given files as dependencies to source_fileAndroidTestUtilities Create a test...
cmake-packages
Packages provide dependency information to CMake based buildsystems. Packages are found with the find_package() command. The result of using find_package is...
cmake-policies
Policies in CMake are used to preserve backward compatible behavior across multiple releases. When a new policy is introduced, newer CMake versions will begin...
cmake-properties
Allow_duplicate_custom_targets Allow duplicate custom targets to be created. Normally CMake requires that all targets built in a project have globally unique...
cmake-qt
CMake can find and use Qt 4 and Qt 5 libraries. The Qt 4 libraries are found by the FindQt4 find-module shipped with CMake, whereas the Qt 5 libraries are found...
cmake-server
cmake(1) is capable of providing semantic information about CMake code it executes to generate a buildsystem. If executed with the -E server command line...
cmake-toolchains
CMake uses a toolchain of utilities to compile, link libraries and create archives, and other tasks to drive the build. The toolchain utilities available are...
cmake-variables
Cmake_argc Number of command line arguments passed to CMake in script mode. When run in -P script mode, CMake sets this variable to the number of command line...