|
@@ -21,14 +21,12 @@ the project. See documentation of :command:`cmake_minimum_required` for
|
|
|
details.
|
|
details.
|
|
|
|
|
|
|
|
Note that the command invocation must appear in the ``CMakeLists.txt``
|
|
Note that the command invocation must appear in the ``CMakeLists.txt``
|
|
|
-file itself; a call in an included file is not sufficient. However,
|
|
|
|
|
-the :command:`cmake_policy` command may be called to set policy ``CMP0000``
|
|
|
|
|
-to ``OLD`` or ``NEW`` behavior explicitly. The ``OLD`` behavior is to
|
|
|
|
|
-silently ignore the missing invocation. The ``NEW`` behavior is to issue
|
|
|
|
|
-an error instead of a warning. An included file may set ``CMP0000``
|
|
|
|
|
-explicitly to affect how this policy is enforced for the main
|
|
|
|
|
-``CMakeLists.txt`` file.
|
|
|
|
|
-
|
|
|
|
|
-This policy was introduced in CMake version 2.6.0.
|
|
|
|
|
|
|
+file itself; a call in an included file is not sufficient. The ``OLD``
|
|
|
|
|
+behavior was to silently ignore the missing invocation. The ``NEW``
|
|
|
|
|
+behavior is to issue an error instead of a warning.
|
|
|
|
|
+
|
|
|
|
|
+.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0
|
|
|
|
|
+.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
|
|
|
|
|
+.. include:: STANDARD_ADVICE.txt
|
|
|
|
|
|
|
|
.. include:: DEPRECATED.txt
|
|
.. include:: DEPRECATED.txt
|