CTEST_CVS_CHECKOUT: Add deprecated directive to docs

This variable got introduced in CMake 2.4 and was documented as
deprecated in CMake 3.1.
This commit is contained in:
Peter Kokot 2025-03-24 01:06:29 +01:00
parent 5cc08a4563
commit 77d23eaa8f
No known key found for this signature in database
GPG Key ID: A94800907AA79B36
2 changed files with 4 additions and 4 deletions

View File

@ -80,8 +80,8 @@ equivalent:
However, for the sake of readability, it is recommended that you order your However, for the sake of readability, it is recommended that you order your
parameters in the order listed at the top of this page. parameters in the order listed at the top of this page.
If the :variable:`CTEST_CHECKOUT_COMMAND` variable (or the If the :variable:`CTEST_CHECKOUT_COMMAND` variable is set, its content is
:variable:`CTEST_CVS_CHECKOUT` variable) is set, its content is treated as treated as
command-line. The command is invoked with the current working directory set command-line. The command is invoked with the current working directory set
to the parent of the source directory, even if the source directory already to the parent of the source directory, even if the source directory already
exists. This can be used to create the source tree from a version control exists. This can be used to create the source tree from a version control

View File

@ -1,6 +1,6 @@
CTEST_CVS_CHECKOUT CTEST_CVS_CHECKOUT
------------------ ------------------
.. versionadded:: 3.1 .. deprecated:: 3.1
Deprecated. Use :variable:`CTEST_CHECKOUT_COMMAND` instead. Use :variable:`CTEST_CHECKOUT_COMMAND` variable instead.