summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-presets.7.rst13
-rw-r--r--Help/manual/ctest.1.rst2
2 files changed, 9 insertions, 6 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst
index 3be6c6f..fb4babe 100644
--- a/Help/manual/cmake-presets.7.rst
+++ b/Help/manual/cmake-presets.7.rst
@@ -91,8 +91,8 @@ that may contain the following fields:
``name``
A required string representing the machine-friendly name of the preset.
- This identifier is used in the ``--preset`` argument. There must not be
- two presets in the union of ``CMakePresets.json`` and
+ This identifier is used in the :ref:`cmake --preset <CMake Options>` option.
+ There must not be two presets in the union of ``CMakePresets.json`` and
``CMakeUserPresets.json`` in the same directory with the same name.
``hidden``
@@ -309,8 +309,9 @@ that may contain the following fields:
``name``
A required string representing the machine-friendly name of the preset.
- This identifier is used in the ``--preset`` argument. There must not be
- two presets (configure, build, or test) in the union of
+ This identifier is used in the
+ :ref:`cmake --build --preset <Build Tool Mode>` option.
+ There must not be two presets (configure, build, or test) in the union of
``CMakePresets.json`` and ``CMakeUserPresets.json`` in the same
directory with the same name.
@@ -427,8 +428,8 @@ that may contain the following fields:
``name``
A required string representing the machine-friendly name of the preset.
- This identifier is used in the ``--preset`` argument. There must not be
- two presets (configure, build, or test) in the union of
+ This identifier is used in the :ref:`ctest --preset <CTest Options>` option.
+ There must not be two presets (configure, build, or test) in the union of
``CMakePresets.json`` and ``CMakeUserPresets.json`` in the same
directory with the same name.
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 43157b6..0a3614f 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -25,6 +25,8 @@ CMake-generated build trees created for projects that use the
:command:`enable_testing` and :command:`add_test` commands have testing support.
This program will run the tests and report results.
+.. _`CTest Options`:
+
Options
=======