diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-04 07:06:20 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-08-04 15:34:45 (GMT) |
commit | d25b232dee81bca67a3a1008f6c1c8ad559b89ab (patch) | |
tree | 119083dba507ee5dc4cced6a7acd49836896fd4f /Modules | |
parent | 63940e1cabe24069b81b5c2b56502932b753a123 (diff) | |
download | CMake-d25b232dee81bca67a3a1008f6c1c8ad559b89ab.zip CMake-d25b232dee81bca67a3a1008f6c1c8ad559b89ab.tar.gz CMake-d25b232dee81bca67a3a1008f6c1c8ad559b89ab.tar.bz2 |
Help: Replace mentions of ``-G`` option with :option:`-G` role
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPack.cmake | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 4934934..07280e0 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -53,9 +53,9 @@ Here's how it works: * :manual:`cpack <cpack(1)>` runs * it includes ``CPackConfig.cmake`` -* it iterates over the generators given by the ``-G`` command line option, - or if no such option was specified, over the list of generators given by - the :variable:`CPACK_GENERATOR` variable set in the ``CPackConfig.cmake`` +* it iterates over the generators given by the :option:`-G <cpack -G>` command + line option, or if no such option was specified, over the list of generators + given by the :variable:`CPACK_GENERATOR` variable set in the ``CPackConfig.cmake`` input file. * foreach generator, it then @@ -246,9 +246,9 @@ installers. The most commonly-used variables are: List of CPack generators to use. If not specified, CPack will create a set of options following the naming pattern :variable:`CPACK_BINARY_<GENNAME>` (e.g. ``CPACK_BINARY_NSIS``) allowing - the user to enable/disable individual generators. If the ``-G`` option is - given on the :manual:`cpack <cpack(1)>` command line, it will override this - variable and any ``CPACK_BINARY_<GENNAME>`` options. + the user to enable/disable individual generators. If the :option:`-G <cpack -G>` + option is given on the :manual:`cpack <cpack(1)>` command line, it will override + this variable and any ``CPACK_BINARY_<GENNAME>`` options. .. variable:: CPACK_OUTPUT_CONFIG_FILE @@ -469,7 +469,8 @@ The following variables are for advanced uses of CPack: generates (when :variable:`CPACK_GENERATOR` is not set) a set of CMake options (see CMake :command:`option` command) which may then be used to select the CPack generator(s) to be used when building the ``package`` - target or when running :manual:`cpack <cpack(1)>` without the ``-G`` option. + target or when running :manual:`cpack <cpack(1)>` without the + :option:`-G <cpack -G>` option. #]=======================================================================] |