CMake build tool
Publish date: Jan 21, 2020
Last updated: Apr 22, 2020
Last updated: Apr 22, 2020
- cross platform build environment1
- software build process using compiler independent methods
- It is used in conjunction with native build environments such as
Make,Qt Creator,Ninja,Apple's Xcode, andMicrosoft Visual Studio
- Depends on
C++ compiler - The ability to build a directory tree outside the source tree is a key feature
- can handle in-place and out-of-place builds
- The build process with CMake takes place in two stages
- First, standard build files are created from configuration files.
- Then the platform’s native build tools are used for the actual building
CMakeLists.txt2
- Variables - decleraing, initialization, printing values
- Conditionals
- Loops
- fucntions and macros
- Include other scripts
- Properties to
*
- PAckaging sysyem for system distribution
- package to
rpm, deb, gzip for both binary and source code