diff options
author | Tom Lankhorst <hello@tomlankhorst.nl> | 2019-10-15 19:35:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-16 13:49:08 (GMT) |
commit | a7ef28b9d8b30b7d5249ade425a9cd2e267da68c (patch) | |
tree | 198a40029178a08bd894c24f6e0cafa74a74b45b /Help/command/OPTIONS_SHELL.txt | |
parent | 9150c818b7d2afb868575fcb2e0c9ba62b9d7f85 (diff) | |
download | CMake-a7ef28b9d8b30b7d5249ade425a9cd2e267da68c.zip CMake-a7ef28b9d8b30b7d5249ade425a9cd2e267da68c.tar.gz CMake-a7ef28b9d8b30b7d5249ade425a9cd2e267da68c.tar.bz2 |
Help: Fix typos and style in add_link_options documentation
Diffstat (limited to 'Help/command/OPTIONS_SHELL.txt')
-rw-r--r-- | Help/command/OPTIONS_SHELL.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/OPTIONS_SHELL.txt b/Help/command/OPTIONS_SHELL.txt index 530c012..0f8ec32 100644 --- a/Help/command/OPTIONS_SHELL.txt +++ b/Help/command/OPTIONS_SHELL.txt @@ -1,9 +1,9 @@ The final set of compile or link options used for a target is constructed by accumulating options from the current target and the usage requirements of -it dependencies. The set of options is de-duplicated to avoid repetition. +its dependencies. The set of options is de-duplicated to avoid repetition. While beneficial for individual options, the de-duplication step can break up option groups. For example, ``-D A -D B`` becomes ``-D A B``. One may specify a group of options using shell-like quoting along with a ``SHELL:`` -prefix. The ``SHELL:`` prefix is dropped and the rest of the option string +prefix. The ``SHELL:`` prefix is dropped, and the rest of the option string is parsed using the :command:`separate_arguments` ``UNIX_COMMAND`` mode. For example, ``"SHELL:-D A" "SHELL:-D B"`` becomes ``-D A -D B``. |