summaryrefslogtreecommitdiffstats
path: root/Help/generator
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/generator
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/generator')
-rw-r--r--Help/generator/Ninja Multi-Config.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/generator/Ninja Multi-Config.rst b/Help/generator/Ninja Multi-Config.rst
index ae075ed..2cf823a 100644
--- a/Help/generator/Ninja Multi-Config.rst
+++ b/Help/generator/Ninja Multi-Config.rst
@@ -20,8 +20,8 @@ are intended to be run with ``ninja -f build-<Config>.ninja``. A
:variable:`CMAKE_CONFIGURATION_TYPES`.
``cmake --build . --config <Config>`` will always use ``build-<Config>.ninja``
-to build. If no :option:`--config <cmake --config>` argument is specified,
-:option:`cmake --build .<cmake --build>` will use ``build.ninja``.
+to build. If no :option:`--config <cmake--build --config>` argument is
+specified, :option:`cmake --build . <cmake --build>` will use ``build.ninja``.
Each ``build-<Config>.ninja`` file contains ``<target>`` targets as well as
``<target>:<Config>`` targets, where ``<Config>`` is the same as the