From 77d23eaa8fe2506820ba3275b41ed0e3f9199adc Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 24 Mar 2025 01:06:29 +0100 Subject: [PATCH] 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. --- Help/command/ctest_start.rst | 4 ++-- Help/variable/CTEST_CVS_CHECKOUT.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Help/command/ctest_start.rst b/Help/command/ctest_start.rst index 2d68a37ac4..9c4e3dc6fd 100644 --- a/Help/command/ctest_start.rst +++ b/Help/command/ctest_start.rst @@ -80,8 +80,8 @@ equivalent: However, for the sake of readability, it is recommended that you order your parameters in the order listed at the top of this page. -If the :variable:`CTEST_CHECKOUT_COMMAND` variable (or the -:variable:`CTEST_CVS_CHECKOUT` variable) is set, its content is treated as +If the :variable:`CTEST_CHECKOUT_COMMAND` variable is set, its content is +treated as 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 exists. This can be used to create the source tree from a version control diff --git a/Help/variable/CTEST_CVS_CHECKOUT.rst b/Help/variable/CTEST_CVS_CHECKOUT.rst index 32cf9ebda7..442138f5dc 100644 --- a/Help/variable/CTEST_CVS_CHECKOUT.rst +++ b/Help/variable/CTEST_CVS_CHECKOUT.rst @@ -1,6 +1,6 @@ CTEST_CVS_CHECKOUT ------------------ -.. versionadded:: 3.1 +.. deprecated:: 3.1 -Deprecated. Use :variable:`CTEST_CHECKOUT_COMMAND` instead. + Use :variable:`CTEST_CHECKOUT_COMMAND` variable instead.