mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Every policy's documentation has a paragraph on what version of CMake introduced it, how to set the policy, and whether CMake warns if the policy is not set. The wording of this paragraph has diverged across policies over time. Factor the paragraph out into a standard advice document included by every policy.
22 lines
702 B
ReStructuredText
22 lines
702 B
ReStructuredText
CMP0106
|
|
-------
|
|
|
|
.. versionadded:: 3.18
|
|
|
|
The :module:`Documentation` module is removed.
|
|
|
|
The :module:`Documentation` was added as a support mechanism for the VTK
|
|
project and was tuned for that project. Instead of CMake providing this module
|
|
with (now old) VTK patterns for cache variables and required packages, the
|
|
module is now deprecated by CMake itself.
|
|
|
|
The ``OLD`` behavior of this policy is for :module:`Documentation` to add
|
|
cache variables and find VTK documentation dependent packages. The ``NEW``
|
|
behavior is to act as an empty module.
|
|
|
|
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18
|
|
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
|
|
.. include:: STANDARD_ADVICE.txt
|
|
|
|
.. include:: DEPRECATED.txt
|