summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-08 13:39:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-08 13:39:41 (GMT)
commited86192cd8f9edee1abdcd5de48089ad9f3b140b (patch)
treed65d4687f417526faffb62fe7e7460d1ee18136b /Help/guide/tutorial
parent33d2491449bfbcee19e1c5d6d181b26f041cbd02 (diff)
parenta6abdf6c8fdb8edf240198724a3191296f05a292 (diff)
downloadCMake-ed86192cd8f9edee1abdcd5de48089ad9f3b140b.zip
CMake-ed86192cd8f9edee1abdcd5de48089ad9f3b140b.tar.gz
CMake-ed86192cd8f9edee1abdcd5de48089ad9f3b140b.tar.bz2
Merge topic 'doc-markup-program-options'
a6abdf6c8f Help: Consistent options declaration -- short first, then long f4563f05db Help: Value for `--graphviz=` option actually is mandatory 04843d743e Help: Replace a bunch of more ``--option`` to `:option:` role 09446266ee Help: Replace mentions of ``-D`` option with :option:`-D` role b57f27b087 Help: Replace mentions of ``-T`` and ``-A`` options with role d25b232dee Help: Replace mentions of ``-G`` option with :option:`-G` role 63940e1cab Help: Replace mentions of ``-C`` option with :option:`-C` role 183a49cbfe Help: Replace mentions of ``-S`` option with :option:`-S` role ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7544
Diffstat (limited to 'Help/guide/tutorial')
-rw-r--r--Help/guide/tutorial/Packaging an Installer.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/guide/tutorial/Packaging an Installer.rst b/Help/guide/tutorial/Packaging an Installer.rst
index 5f0b27a..e3d8de0 100644
--- a/Help/guide/tutorial/Packaging an Installer.rst
+++ b/Help/guide/tutorial/Packaging an Installer.rst
@@ -38,15 +38,15 @@ binary directory run:
cpack
-To specify the generator, use the ``-G`` option. For multi-config builds, use
-``-C`` to specify the configuration. For example:
+To specify the generator, use the :option:`-G <cpack -G>` option. For multi-config builds,
+use :option:`-C <cpack -C>` to specify the configuration. For example:
.. code-block:: console
cpack -G ZIP -C Debug
For a list of available generators, see :manual:`cpack-generators(7)` or call
-``cpack --help``. An :cpack_gen:`archive generator <CPack Archive Generator>`
+:option:`cpack --help`. An :cpack_gen:`archive generator <CPack Archive Generator>`
like ZIP creates a compressed archive of all *installed* files.
To create an archive of the *full* source tree you would type: