Difference between revisions of "CMake Version Compatibility Matrix"

From KitwarePublic
Jump to navigationJump to search
(Replace content with link to new CMake community wiki)
Line 1: Line 1:
= Compatibility across different CMake versions =
'''''This page applies to cmake versions 2.6.0 to 2.8.12.'''''
This page has moved [https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/Version-Compatibility-Matrix here].
Below you can find a list of features and when they were introduced to cmake. The features are grouped by their respective section in the documentation.
Entries marked in green show available, fully upwards-compatible features. Entries in yellow mark changes in features that are available in higher versions of CMake, but not in this version. Entries in red mark incompatible changes or not available features.
For size-reasons, the matrix has been split into the following subpages:
* [[/Options|CMake Options]]
* [[/Commands|Commands]]
* [[/Properties|Properties]]
** [[/Properties_of_Global_Scope|Properties of Global Scope]]
** [[/Properties_on_Directories|Properties on Directories]]
** [[/Properties_on_Targets|Properties on Targets]]
** [[/Properties_on_Tests|Properties on Tests]]
** [[/Properties_on_Source_Files|Properties on Source Files]]
** [[/Properties_on_Cache_Entries|Properties on Cache Entries]]
* Standard CMake Modules
** [[/StandardCMakeModulesA|A - FindK*]]
** [[/StandardCMakeModulesFindL|FindL* - Z]]
* [[/Variables|Variables]]
** [[/Variables_That_Change_Behavior|Variables That Change Behavior]]
** [[/Variables_That_Describe_the_System|Variables That Describe The System]]
** [[/Variables_for_Languages|Variables for Languages]]
** [[/Variables_that_Control_the_Build|Variables That Control The Build]]
** [[/Variables_that_Provide_Information|Variables That Provide Information]]
== Additional Notes ==
When writing CMake code that is to be compatible with previous releases of CMake, not only look out for changes in the API, but also consider changes in behavior between different versions of CMake. When such a change in behavior occurs, it is often documented  in the description of CMake-[http://www.cmake.org/cmake/help/cmake-2-8-docs.html#section_Policies Policies].
= General Information =
The information on this page was compiled from the plain-text documentation of the various CMake releases (<code>cmake --help-full</code>). The complete documentation for all CMake releases can be viewed on the page [[CMake Released Versions]].
Sometimes the documentation text changes between two releases, even though the functionality remains the same. E.g. a later release of CMake may contain clarifications or documentation for previously un(der)documented features. Although care has been taken in trying to correctly identify all changes, and in minimizing false positives, some of the information on this page may still contain errors.

Latest revision as of 11:41, 30 April 2018

The CMake community Wiki has moved to the Kitware GitLab Instance.

This page has moved here.