Help: Date deprecation of deprecated commands.

This commit is contained in:
Joachim Wuttke (o) 2018-10-25 13:15:34 +02:00
parent 19998d7b3c
commit c8e8c9cc7c
16 changed files with 32 additions and 16 deletions

View File

@ -1,7 +1,7 @@
build_name
----------
Disallowed. See CMake Policy :policy:`CMP0036`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0036`.
Use ``${CMAKE_SYSTEM}`` and ``${CMAKE_CXX_COMPILER}`` instead.

View File

@ -1,7 +1,9 @@
exec_program
------------
Deprecated. Use the :command:`execute_process` command instead.
.. deprecated:: 3.0
Use the :command:`execute_process` command instead.
Run an executable program during the processing of the CMakeList.txt
file.

View File

@ -1,7 +1,7 @@
export_library_dependencies
---------------------------
Disallowed. See CMake Policy :policy:`CMP0033`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0033`.
Use :command:`install(EXPORT)` or :command:`export` command.

View File

@ -1,7 +1,9 @@
install_files
-------------
Deprecated. Use the :command:`install(FILES)` command instead.
.. deprecated:: 3.0
Use the :command:`install(FILES)` command instead.
This command has been superceded by the :command:`install` command. It is
provided for compatibility with older CMake code. The ``FILES`` form is

View File

@ -1,7 +1,9 @@
install_programs
----------------
Deprecated. Use the :command:`install(PROGRAMS)` command instead.
.. deprecated:: 3.0
Use the :command:`install(PROGRAMS)` command instead.
This command has been superceded by the :command:`install` command. It is
provided for compatibility with older CMake code. The ``FILES`` form is

View File

@ -1,7 +1,9 @@
install_targets
---------------
Deprecated. Use the :command:`install(TARGETS)` command instead.
.. deprecated:: 3.0
Use the :command:`install(TARGETS)` command instead.
This command has been superceded by the :command:`install` command. It is
provided for compatibility with older CMake code.

View File

@ -1,7 +1,7 @@
load_command
------------
Disallowed. See CMake Policy :policy:`CMP0031`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0031`.
Load a command into a running CMake.

View File

@ -1,7 +1,9 @@
make_directory
--------------
Deprecated. Use the :command:`file(MAKE_DIRECTORY)` command instead.
.. deprecated:: 3.0
Use the :command:`file(MAKE_DIRECTORY)` command instead.
::

View File

@ -1,7 +1,7 @@
output_required_files
---------------------
Disallowed. See CMake Policy :policy:`CMP0032`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0032`.
Approximate C preprocessor dependency scanning.

View File

@ -1,7 +1,9 @@
remove
------
Deprecated. Use the :command:`list(REMOVE_ITEM)` command instead.
.. deprecated:: 3.0
Use the :command:`list(REMOVE_ITEM)` command instead.
::

View File

@ -1,7 +1,7 @@
subdir_depends
--------------
Disallowed. See CMake Policy :policy:`CMP0029`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0029`.
Does nothing.

View File

@ -1,7 +1,9 @@
subdirs
-------
Deprecated. Use the :command:`add_subdirectory` command instead.
.. deprecated:: 3.0
Use the :command:`add_subdirectory` command instead.
Add a list of subdirectories to the build.

View File

@ -1,7 +1,7 @@
use_mangled_mesa
----------------
Disallowed. See CMake Policy :policy:`CMP0030`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0030`.
Copy mesa headers for use in combination with system GL.

View File

@ -1,7 +1,7 @@
utility_source
--------------
Disallowed. See CMake Policy :policy:`CMP0034`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0034`.
Specify the source tree of a third-party utility.

View File

@ -1,7 +1,7 @@
variable_requires
-----------------
Disallowed. See CMake Policy :policy:`CMP0035`.
Disallowed since version 3.0. See CMake Policy :policy:`CMP0035`.
Use the :command:`if` command instead.

View File

@ -1,7 +1,9 @@
write_file
----------
Deprecated. Use the :command:`file(WRITE)` command instead.
.. deprecated:: 3.0
Use the :command:`file(WRITE)` command instead.
::