CMake
CMake
3.16.1

5.0

CMake free download for Mac

CMake

3.16.1
11 December 2019

Cross-platform, Open-Source build system.

Overview

CMake is a family of tools designed to build, test, and package software. It 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. It was created by Kitware in response to the need for a powerful, cross-platform build environment for Open-Source projects such as ITK and VTK.

CMake can handle in-place and out-of-place builds, enabling several builds from the same source tree, and cross-compilation. The ability to build a directory tree outside the source tree is a key feature, ensuring that if a build directory is removed, the source file remains unaffected. Another feature is the ability to generate a cache to be used with a graphical editor, which, when CMake is run, can locate executables, files, and libraries. This information goes into the cache, which can then be tailored before generating the native build files. Complicated directory hierarchies and applications that rely on several libraries are well supported by CMake. For instance, CMake is able to accommodate a project that has multiple toolkits, or libraries that each have multiple directories. In addition, CMake can work with projects that require executables to be created before generating code to be compiled for the final application. Its Open-Source, extensible design allows CMake to be adapted as necessary for specific projects.

It can generate makefiles for many platforms and IDEs including Unix, Windows, Mac OS X, OS/2, MSVC, Cygwin, MinGW, and Xcode. Projects which use CMake include Blender, Bullet physics engine, LLVM and Clang, MariaDB, MuseScore, MySQL, Qt5, Second Life, Stellarium, and SuperTux.

What's new in CMake

Version 3.16.1:
  • bootstrap: Add target_link_options command
  • Check for support before adding bigtoc linker flag
  • TestDriver: ignore strcpy call
  • FindThreads: Restore hard-coded '-l' flag on library name
  • PCH: Do not add #pragma system_header for Xcode generator
  • Unity/PCH: Skip more target types when adding automatic sources
  • Unity: Generic source file handling for all generators
  • Unity: Proper handling of object libraries
  • PCH: Use the target's PREFIX for building the pdb file name
  • CTest Resource Allocation: Add test for spec file with no version
  • FindwxWidgets: Add support for 3.1.3 on macOS

Join over 500,000 subscribers.

Subscribe for our newsletter with best Mac offers from MacUpdate.

3 CMake Reviews

Rate this app:

Claus-Klein
08 August 2015

Most helpful

The best build system generator I know
Like (1)
Version 3.2.2
Claus-Klein
08 August 2015
CMake 3.3.0 is now available, and CMake version 3.2.3 too!
Like
Version 3.2.2
Claus-Klein
08 August 2015
The best build system generator I know
Like (1)
Version 3.2.2
hwgray
04 May 2015
The link downloads the <ugh!> *Windoze* version.
Like
Version 3.2.2