Help: Add boilerplate text to use for removed policies
This commit is contained in:
parent
759b55991a
commit
6a1a08e634
4
Help/policy/REMOVED_EPILOGUE.txt
Normal file
4
Help/policy/REMOVED_EPILOGUE.txt
Normal file
@ -0,0 +1,4 @@
|
||||
This policy was introduced in CMake version |INTRODUCED_IN_CMAKE_VERSION|.
|
||||
Prior to removal in CMake version |REMOVED_IN_CMAKE_VERSION|, it could be
|
||||
set by :command:`cmake_policy` or :command:`cmake_minimum_required`.
|
||||
If it was not set, CMake |WARNED_OR_DID_NOT_WARN|, and used ``OLD`` behavior.
|
5
Help/policy/REMOVED_PROLOGUE.txt
Normal file
5
Help/policy/REMOVED_PROLOGUE.txt
Normal file
@ -0,0 +1,5 @@
|
||||
.. warning::
|
||||
The ``OLD`` behavior of this policy was removed
|
||||
in CMake version |REMOVED_IN_CMAKE_VERSION|.
|
||||
This policy must be set to ``NEW`` by a call to
|
||||
:command:`cmake_minimum_required` or :command:`cmake_policy`.
|
Loading…
Reference in New Issue
Block a user