Help: Clarify behavior of BEFORE with target_compile_options()

This commit is contained in:
Craig Scott
2022-11-27 20:35:14 +11:00
parent dd3482f675
commit ab5aeca849
2 changed files with 18 additions and 9 deletions

View File

@@ -19,7 +19,8 @@ Arguments
^^^^^^^^^
If ``BEFORE`` is specified, the content will be prepended to the property
instead of being appended.
instead of being appended. See policy :policy:`CMP0101` which affects
whether ``BEFORE`` will be ignored in certain cases.
The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to
specify the :ref:`scope <Target Usage Requirements>` of the following arguments.