Help: Use :option: role to reference ctest options

This commit is contained in:
Alex Turbov 2022-08-10 00:08:04 +04:00
parent c401fc5dee
commit 4c1008d739
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.