Help: Date deprecation of deprecated commands.

This commit is contained in:
Joachim Wuttke (o)
2018-10-25 13:15:34 +02:00
parent ab75f16e0d
commit 4f5d6568fb
16 changed files with 32 additions and 16 deletions
+1 -1
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.
+3 -1
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.
+1 -1
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.
+3 -1
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
+3 -1
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
+3 -1
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.
+1 -1
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.
+3 -1
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.
::
+1 -1
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.
+3 -1
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.
::
+1 -1
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.
+3 -1
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.
+1 -1
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.
+1 -1
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.
+1 -1
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.
+3 -1
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.
::