mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
CMP0051
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
List TARGET_OBJECTS in SOURCES target property.
|
||||
|
||||
CMake 3.0 and lower did not include the ``TARGET_OBJECTS``
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0052
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Reject source and build dirs in installed
|
||||
:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0053
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Simplify variable reference and escape sequence evaluation.
|
||||
|
||||
CMake 3.1 introduced a much faster implementation of evaluation of the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0054
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Only interpret :command:`if` arguments as variables or keywords when unquoted.
|
||||
|
||||
CMake 3.1 and above no longer implicitly dereference variables or
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0055
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
Strict checking for the :command:`break` command.
|
||||
|
||||
CMake 3.1 and lower allowed calls to the :command:`break` command
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0056
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
Honor link flags in :command:`try_compile` source-file signature.
|
||||
|
||||
The :command:`try_compile` command source-file signature generates a
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0057
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Support new :command:`if` IN_LIST operator.
|
||||
|
||||
CMake 3.3 adds support for the new IN_LIST operator.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0058
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Ninja requires custom command byproducts to be explicit.
|
||||
|
||||
When an intermediate file generated during the build is consumed
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0059
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Do not treat ``DEFINITIONS`` as a built-in directory property.
|
||||
|
||||
CMake 3.3 and above no longer make a list of definitions available through
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0060
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Link libraries by full path even in implicit directories.
|
||||
|
||||
Policy :policy:`CMP0003` was introduced with the intention of always
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0061
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
CTest does not by default tell ``make`` to ignore errors (``-i``).
|
||||
|
||||
The :command:`ctest_build` and :command:`build_command` commands no
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0062
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Disallow :command:`install` of :command:`export` result.
|
||||
|
||||
The :command:`export()` command generates a file containing
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0063
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
Honor visibility properties for all target types.
|
||||
|
||||
The :prop_tgt:`<LANG>_VISIBILITY_PRESET` and
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0064
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Recognize ``TEST`` as a operator for the :command:`if` command.
|
||||
|
||||
The ``TEST`` operator was added to the :command:`if` command to determine if a
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0065
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
Do not add flags to export symbols from executables without
|
||||
the :prop_tgt:`ENABLE_EXPORTS` target property.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0066
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
Honor per-config flags in :command:`try_compile` source-file signature.
|
||||
|
||||
The source file signature of the :command:`try_compile` command uses the value
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0067
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
Honor language standard in :command:`try_compile` source-file signature.
|
||||
|
||||
The :command:`try_compile` source file signature is intended to allow
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0068
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
``RPATH`` settings on macOS do not affect ``install_name``.
|
||||
|
||||
CMake 3.9 and newer remove any effect the following settings may have on the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0069
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
:prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` is enforced when enabled.
|
||||
|
||||
CMake 3.9 and newer prefer to add IPO flags whenever the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0070
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Define :command:`file(GENERATE)` behavior for relative paths.
|
||||
|
||||
CMake 3.10 and newer define that relative paths given to ``INPUT`` and
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0071
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Let :prop_tgt:`AUTOMOC` and :prop_tgt:`AUTOUIC` process
|
||||
:prop_sf:`GENERATED` files.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0072
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
:module:`FindOpenGL` prefers GLVND by default when available.
|
||||
|
||||
The :module:`FindOpenGL` module provides an ``OpenGL::GL`` target and an
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0073
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
Do not produce legacy ``_LIB_DEPENDS`` cache entries.
|
||||
|
||||
Ancient CMake versions once used ``<tgt>_LIB_DEPENDS`` cache entries to
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0074
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
:command:`find_package` uses ``<PackageName>_ROOT`` variables.
|
||||
|
||||
In CMake 3.12 and above the :command:`find_package(<PackageName>)` command now
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0075
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.12
|
||||
|
||||
Include file check macros honor ``CMAKE_REQUIRED_LIBRARIES``.
|
||||
|
||||
In CMake 3.12 and above, the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0076
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
The :command:`target_sources` command converts relative paths to absolute.
|
||||
|
||||
In CMake 3.13 and above, the :command:`target_sources` command now converts
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0077
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
:command:`option` honors normal variables.
|
||||
|
||||
The :command:`option` command is typically used to create a cache entry
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0078
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
:module:`UseSWIG` generates standard target names.
|
||||
|
||||
Starting with CMake 3.13, :module:`UseSWIG` generates now standard target
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0079
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
:command:`target_link_libraries` allows use with targets in other directories.
|
||||
|
||||
Prior to CMake 3.13 the :command:`target_link_libraries` command did not
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0080
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
:module:`BundleUtilities` cannot be included at configure time.
|
||||
|
||||
The macros provided by :module:`BundleUtilities` are intended to be invoked
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0081
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
Relative paths not allowed in :prop_tgt:`LINK_DIRECTORIES` target property.
|
||||
|
||||
CMake 3.12 and lower allowed the :prop_dir:`LINK_DIRECTORIES` directory
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0082
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
Install rules from :command:`add_subdirectory` calls are interleaved with
|
||||
those in caller.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0083
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
To control generation of Position Independent Executable (``PIE``) or not, some
|
||||
flags are required at link time.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0084
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
The :module:`FindQt` module does not exist for :command:`find_package`.
|
||||
|
||||
The existence of :module:`FindQt` means that for Qt upstream to provide
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0085
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
``$<IN_LIST:...>`` handles empty list items.
|
||||
|
||||
In CMake 3.13 and lower, the ``$<IN_LIST:...>`` generator expression always
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0086
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
:module:`UseSWIG` honors ``SWIG_MODULE_NAME`` via ``-module`` flag.
|
||||
|
||||
Starting with CMake 3.14, :module:`UseSWIG` passes option
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0087
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
:command:`install(CODE)` and :command:`install(SCRIPT)` support generator
|
||||
expressions.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0088
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
:module:`FindBISON` runs bison in :variable:`CMAKE_CURRENT_BINARY_DIR`
|
||||
when executing.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0089
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
Compiler id for IBM Clang-based XL compilers is now ``XLClang``.
|
||||
|
||||
CMake 3.15 and above recognize that IBM's Clang-based XL compilers
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0090
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
:command:`export(PACKAGE)` does not populate package registry by default.
|
||||
|
||||
In CMake 3.14 and below the :command:`export(PACKAGE)` command populated the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0091
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
MSVC runtime library flags are selected by an abstraction.
|
||||
|
||||
Compilers targeting the MSVC ABI have flags to select the MSVC runtime library.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0092
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
MSVC warning flags are not in :variable:`CMAKE_<LANG>_FLAGS` by default.
|
||||
|
||||
When using MSVC-like compilers in CMake 3.14 and below, warning flags
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0093
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
:module:`FindBoost` reports ``Boost_VERSION`` in ``x.y.z`` format.
|
||||
|
||||
In CMake 3.14 and below the module would report the Boost version
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0094
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.15
|
||||
|
||||
Modules :module:`FindPython3`, :module:`FindPython2` and :module:`FindPython`
|
||||
use ``LOCATION`` for lookup strategy.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0095
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
``RPATH`` entries are properly escaped in the intermediary CMake install script.
|
||||
|
||||
In CMake 3.15 and earlier, ``RPATH`` entries set via
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0096
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
The :command:`project` command preserves leading zeros in version components.
|
||||
|
||||
When a ``VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]`` argument is given
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0097
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.16
|
||||
|
||||
:command:`ExternalProject_Add` with ``GIT_SUBMODULES ""`` initializes no
|
||||
submodules.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0098
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
:module:`FindFLEX` runs ``flex`` in directory
|
||||
:variable:`CMAKE_CURRENT_BINARY_DIR` when executing.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0099
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Target link properties :prop_tgt:`INTERFACE_LINK_OPTIONS`,
|
||||
:prop_tgt:`INTERFACE_LINK_DIRECTORIES` and :prop_tgt:`INTERFACE_LINK_DEPENDS`
|
||||
are now transitive over private dependencies of static libraries.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0100
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
Let :prop_tgt:`AUTOMOC` and :prop_tgt:`AUTOUIC` process
|
||||
header files that end with a ``.hh`` extension.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0101
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
:command:`target_compile_options` now honors ``BEFORE`` keyword in all scopes.
|
||||
|
||||
In CMake 3.16 and below the :command:`target_compile_options` ignores the
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0102
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.17
|
||||
|
||||
The :command:`mark_as_advanced` command no longer creates a cache entry if one
|
||||
does not already exist.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0103
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
Multiple calls to :command:`export` command with same ``FILE`` without
|
||||
``APPEND`` is no longer allowed.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0104
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
Initialize :variable:`CMAKE_CUDA_ARCHITECTURES` when
|
||||
:variable:`CMAKE_CUDA_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` is ``NVIDIA``.
|
||||
Raise an error if :prop_tgt:`CUDA_ARCHITECTURES` is empty.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0105
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
:prop_tgt:`LINK_OPTIONS` and :prop_tgt:`INTERFACE_LINK_OPTIONS` target
|
||||
properties are now used for the device link step.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0106
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
The :module:`Documentation` module is removed.
|
||||
|
||||
The :module:`Documentation` was added as a support mechanism for the VTK
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0107
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
It is not allowed to create an ``ALIAS`` target with the same name as an
|
||||
another target.
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0108
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.18
|
||||
|
||||
A target is not allowed to link to itself even through an ``ALIAS`` target.
|
||||
|
||||
In CMake 3.17 and below, a target can link to a target aliased to itself.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
CMP0109
|
||||
-------
|
||||
|
||||
.. versionadded:: 3.19
|
||||
|
||||
:command:`find_program` requires permission to execute but not to read.
|
||||
|
||||
In CMake 3.18 and below, the :command:`find_program` command on UNIX
|
||||
|
||||
Reference in New Issue
Block a user