OPTIONS_SHELL.txt 772 B

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