summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-09 20:08:04 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-14 05:58:41 (GMT)
commit4c1008d739ebbe677a877256f0e3f1e37fe9ffee (patch)
treecd72f24ad4998bfabb9cf56ccbd133a9d77fb14a
parentc401fc5dee64e5a678f74cc745296c902e7a4f88 (diff)
downloadCMake-4c1008d739ebbe677a877256f0e3f1e37fe9ffee.zip
CMake-4c1008d739ebbe677a877256f0e3f1e37fe9ffee.tar.gz
CMake-4c1008d739ebbe677a877256f0e3f1e37fe9ffee.tar.bz2
Help: Use `:option:` role to reference `ctest` options
-rw-r--r--Help/manual/cmake-presets.7.rst2
-rw-r--r--Help/prop_test/LABELS.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst
index 290c2ba..ea43b14 100644
--- a/Help/manual/cmake-presets.7.rst
+++ b/Help/manual/cmake-presets.7.rst
@@ -570,7 +570,7 @@ that may contain the following fields:
``name``
A required string representing the machine-friendly name of the preset.
- This identifier is used in the :ref:`ctest --preset <CTest Options>` option.
+ This identifier is used in the :option:`ctest --preset` option.
There must not be two test presets in the union of ``CMakePresets.json``
and ``CMakeUserPresets.json`` in the same directory with the same name.
However, a test preset may have the same name as a configure or build preset.
diff --git a/Help/prop_test/LABELS.rst b/Help/prop_test/LABELS.rst
index a06f152..d827adc 100644
--- a/Help/prop_test/LABELS.rst
+++ b/Help/prop_test/LABELS.rst
@@ -4,7 +4,7 @@ LABELS
Specify a list of text labels associated with a test. The labels are
reported in both the ``ctest`` output summary and in dashboard submissions.
They can also be used to filter the set of tests to be executed (see the
-``ctest -L`` and ``ctest -LE`` :ref:`CTest Options`).
+:option:`ctest -L` and :option:`ctest -LE` options).
See :ref:`Additional Labels` for adding labels to a test dynamically during
test execution.