OPTIONS_SHELL.txt 668 B

123456789
  1. The final set of compile or link options used for a target is constructed by
  2. accumulating options from the current target and the usage requirements of
  3. it dependencies. The set of options is de-duplicated to avoid repetition.
  4. While beneficial for individual options, the de-duplication step can break
  5. up option groups. For example, ``-D A -D B`` becomes ``-D A B``. One may
  6. specify a group of options using shell-like quoting along with a ``SHELL:``
  7. prefix. The ``SHELL:`` prefix is dropped and the rest of the option string
  8. is parsed using the :command:`separate_arguments` ``UNIX_COMMAND`` mode.
  9. For example, ``"SHELL:-D A" "SHELL:-D B"`` becomes ``-D A -D B``.