CMake is an extensible, open-source system that manages the build process in an operating system and in a compiler-independent manner. Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment. Simple configuration files placed in each source directory (called CMakeLists.txt files) are used to generate standard build files (e.g., makefiles on Unix and projects/workspaces in Windows MSVC) which are used in the usual way. CMake can generate a native build environment that will compile source code, create libraries, generate wrappers and build executables in arbitrary combinations.
3.7.013 Nov 2016 02:06
CMake now supports Cross Compiling for Android with simple toolchain files.
The Ninja generator learned to conditionally support Fortran when using a ninja tool that has the necessary features. See generator documentation for details.
The if() command gained new boolean comparison operations LESS_EQUAL , GREATER_EQUAL , STRLESS_EQUAL , STRGREATER_EQUAL , VERSION_LESS_EQUAL , and VERSION_GREATER_EQUAL .
The try_compile() command source file signature now honors configuration-specific flags (e.g. CMAKE__FLAGS_DEBUG ) in the generated test project. Previously only the default such flags for the current toolchain were used. See policy CMP0066 .
Toolchain files may now set CMAKE_EXE_LINKER_FLAGS_INIT , CMAKE_SHARED_LINKER_FLAGS_INIT , and CMAKE_MODULE_LINKER_FLAGS_INIT variables to initialize the CMAKE_EXE_LINKER_FLAGS , CMAKE_SHARED_LINKER_FLAGS , and CMAKE_MODULE_LINKER_FLAGS cache entries the first time a language is enabled in a build tree.
CTest now supports test fixtures through the new FIXTURES_SETUP , FIXTURES_CLEANUP and FIXTURES_REQUIRED test properties. When using regular expressions or rerun-failed to limit the tests to be run, a fixture s setup and cleanup tests will automatically be added to the execution set if any test requires that fixture.
We no longer provide Linux i386 binaries for download from cmake.org for new versions of CMake.
Vim support files cmake-indent.vim , cmake-syntax.vim , and cmake-help.vim have been removed in favor of the files now provided from the vim-cmake-syntax project.
Support for building CMake itself with some compilers was dropped:
Visual Studio 7.1 and 2005 superseded by VS 2008 and above
MinGW.org mingw32 superseded by MSYS2 mingw32 and mingw64
CMake still supports generating build systems for other projects using these compilers.
3.1.207 Feb 2015 16:25
Fix regression in default configuration selection.
Fix packaging of source tarballs with symbolic links.
KWSys Directory: Check opendir return value before using it.
Help: Clarify status of link_libraries command.
Normalize OBJECT_DEPENDS paths to match custom commands.
MSVC: Fix initialization of RelWithDebInfo shared library link flags.
Fix detection of OpenSSL 1.0.2.
Update GNU make error message matching.
3.1.018 Dec 2014 15:15
A new cmake-compile-features(7) manual was added.
The Visual Studio 14 2015 generator was added.
Generators for Visual Studio 11 (2012) and above learned to generate projects for Windows Phone and Windows Store.
The cmake-language(7) syntax for Variable References and Escape Sequences was simplified in order to allow a much faster implementation.
The if() command no longer automatically dereferences variables named in quoted or bracket arguments.
The cmake-gui(1) learned to capture output from child processes started by the execute_process() command and display it in the output window.
The cmake-language(7) internal implementation of generator expression and list expansion parsers have been optimized and shows non-trivial speedup on large projects.
The Makefile generators learned to use response files with GNU tools on Windows to pass library directories and names to the linker.
When generating linker command-lines, CMake now avoids repeating items corresponding to SHARED library targets.
Many more additions and changes.
3.0.106 Aug 2014 12:26
Several bugfixes were applied. Semicolon in AIX compiler warning FAIL_REFEX caused it to match other output.
Linking into a static library was broken for Xcode 6.
CMake build error on QNX.
Fix CMakeExpandImportedTargets to avoid Error on non-existent target in get_target_property.
cannot build targets 'test' or 'package' after bootstrapping (Brad King).
UseSWIG.cmake used wrong filenames for Python.
Fortran modules for GNU fortran were not correctly identified.
3.0.009 Jul 2014 23:59
The CMake language has been extended with *Bracket Argument* and *Bracket Comment* syntax inspired by Lua long bracket. While the CMake documentation has been converted to reStructuredText.