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:
@@ -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
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user