diff options
| author | Brad King <brad.king@kitware.com> | 2022-10-05 20:15:10 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2022-10-05 20:15:22 (GMT) |
| commit | c4bbeb82487857431f8e75e4d8c7f456129fee2c (patch) | |
| tree | 93ce8d691dcc28f9dc869400ef60db4ab6ef22d6 /Help/guide | |
| parent | 6ace9562e730328b87ad5b56390e70cb7704050a (diff) | |
| parent | b768a5e23ba58b1eaf747c54451a5a255663650b (diff) | |
| download | CMake-c4bbeb82487857431f8e75e4d8c7f456129fee2c.zip CMake-c4bbeb82487857431f8e75e4d8c7f456129fee2c.tar.gz CMake-c4bbeb82487857431f8e75e4d8c7f456129fee2c.tar.bz2 | |
Merge topic 'doc-cmake-modes'
b768a5e23b Help: Disambiguate cmake(1) program modes in Sphinx option references
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7749
Diffstat (limited to 'Help/guide')
| -rw-r--r-- | Help/guide/user-interaction/index.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/guide/user-interaction/index.rst b/Help/guide/user-interaction/index.rst index 9cc5816..3355992 100644 --- a/Help/guide/user-interaction/index.rst +++ b/Help/guide/user-interaction/index.rst @@ -511,7 +511,7 @@ command associated with the the build tool configured by the user. The :option:`--build <cmake --build>` mode also accepts -the parameter :option:`--target <cmake --target>` to +the parameter :option:`--target <cmake--build --target>` to specify a particular target to build, for example a particular library, executable or custom target, or a particular special target like ``install``: @@ -521,7 +521,7 @@ particular special target like ``install``: $ cmake --build . --target myexe The :option:`--build <cmake --build>` mode also accepts a -:option:`--config <cmake --config>` parameter +:option:`--config <cmake--build --config>` parameter in the case of multi-config generators to specify which particular configuration to build: @@ -529,13 +529,13 @@ particular configuration to build: $ cmake --build . --target myexe --config Release -The :option:`--config <cmake --config>` option has no +The :option:`--config <cmake--build --config>` option has no effect if the generator generates a buildsystem specific to a configuration which is chosen when invoking cmake with the :variable:`CMAKE_BUILD_TYPE` variable. Some buildsystems omit details of command lines invoked -during the build. The :option:`-verbose <cmake --verbose>` +during the build. The :option:`--verbose <cmake--build --verbose>` flag can be used to cause those command lines to be shown: .. code-block:: console |
