CMake Version Compatibility Matrix

From KitwarePublic
Jump to: navigation, search

Compatibility across different CMake versions

This page applies to cmake versions 2.6.0 to 2.8.12.

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:


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-Policies.

General Information

The information on this page was compiled from the plain-text documentation of the various CMake releases (cmake --help-full). 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.