mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-02 04:38:04 +00:00
Help: Correct use of dots ([...]) in install command signatures
Only the short form of command have the [...] at the end to indicate further possible arguments. Repeating of a block is indicated by ..., not [...].
This commit is contained in:
@@ -498,7 +498,7 @@ Signatures
|
||||
[CONFIGURATIONS <config>...]
|
||||
[COMPONENT <component>]
|
||||
[OPTIONAL] [EXCLUDE_FROM_ALL]
|
||||
] [...]
|
||||
]...
|
||||
)
|
||||
|
||||
The ``IMPORTED_RUNTIME_ARTIFACTS`` form specifies rules for installing the
|
||||
@@ -819,7 +819,7 @@ Signatures
|
||||
|
||||
install([[SCRIPT <file>] [CODE <code>]]
|
||||
[ALL_COMPONENTS | COMPONENT <component>]
|
||||
[EXCLUDE_FROM_ALL] [...])
|
||||
[EXCLUDE_FROM_ALL])
|
||||
|
||||
The ``SCRIPT`` form will invoke the given CMake script files during
|
||||
installation. If the script file name is a relative path it will be
|
||||
@@ -1138,7 +1138,7 @@ Signatures
|
||||
[COMPONENT <component>]
|
||||
[NAMELINK_COMPONENT <component>]
|
||||
[OPTIONAL] [EXCLUDE_FROM_ALL]
|
||||
] [...]
|
||||
]...
|
||||
[PRE_INCLUDE_REGEXES <regex>...]
|
||||
[PRE_EXCLUDE_REGEXES <regex>...]
|
||||
[POST_INCLUDE_REGEXES <regex>...]
|
||||
|
||||
Reference in New Issue
Block a user