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.
This commit is contained in:
Brad King
2022-10-05 14:33:10 -04:00
parent 6ace9562e7
commit b768a5e23b
13 changed files with 64 additions and 30 deletions
+1 -1
View File
@@ -968,7 +968,7 @@ Generated Installation Script
The ``install()`` command generates a file, ``cmake_install.cmake``, inside
the build directory, which is used internally by the generated install target
and by CPack. You can also invoke this script manually with
:option:`cmake -P <cmake_P -P>`. This script accepts several variables:
:option:`cmake -P`. This script accepts several variables:
``COMPONENT``
Set this variable to install only a single CPack component as opposed to all