1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 17:31:57 +08:00

Help: Replace mentions of `-D option with :option:-D` role

This commit is contained in:
Alex Turbov
2022-08-04 12:59:19 +04:00
parent b57f27b087
commit 09446266ee
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ This variable can be set by the user during the first time a build tree is confi
If a non-full path value is supplied then CMake will resolve the full path of
the compiler.
The variable could be set in a user supplied toolchain file or via `-D` on the command line.
The variable could be set in a user supplied toolchain file or via
:option:`-D <cmake -D>` on the command line.
.. note::
Options that are required to make the compiler work correctly can be included

View File

@@ -3,7 +3,7 @@ CPACK_CUSTOM_INSTALL_VARIABLES
.. versionadded:: 3.21
CPack variables (set via e.g. ``cpack -D``, ``CPackConfig.cmake`` or
CPack variables (set via e.g. :option:`cpack -D`, ``CPackConfig.cmake`` or
:variable:`CPACK_PROJECT_CONFIG_FILE` scripts) are not directly visible in
installation scripts. Instead, one can pass a list of ``varName=value``
pairs in the ``CPACK_CUSTOM_INSTALL_VARIABLES`` variable. At install time,