summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-05 18:33:10 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-05 19:27:40 (GMT)
commitb768a5e23ba58b1eaf747c54451a5a255663650b (patch)
tree93ce8d691dcc28f9dc869400ef60db4ab6ef22d6 /Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
parent6ace9562e730328b87ad5b56390e70cb7704050a (diff)
downloadCMake-b768a5e23ba58b1eaf747c54451a5a255663650b.zip
CMake-b768a5e23ba58b1eaf747c54451a5a255663650b.tar.gz
CMake-b768a5e23ba58b1eaf747c54451a5a255663650b.tar.bz2
Help: Disambiguate cmake(1) program modes in Sphinx option references
Define the entry point to each mode as an option for the `cmake` program, but reference the options for that mode as part of stand-in `cmake-<mode>` programs.
Diffstat (limited to 'Help/variable/CMAKE_SCRIPT_MODE_FILE.rst')
-rw-r--r--Help/variable/CMAKE_SCRIPT_MODE_FILE.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst b/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
index 104f4ac..313fb4e 100644
--- a/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
+++ b/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
@@ -1,9 +1,9 @@
CMAKE_SCRIPT_MODE_FILE
----------------------
-Full path to the :option:`cmake -P <cmake_P -P>` script file currently being
+Full path to the :option:`cmake -P` script file currently being
processed.
-When run in :option:`cmake -P <cmake_P -P>` script mode, CMake sets this variable to
+When run in :option:`cmake -P` script mode, CMake sets this variable to
the full path of the script file. When run to configure a ``CMakeLists.txt``
file, this variable is not set.