Merge topic 'add_custom_command-target-alias'

3b07ec631d add_custom_command: Allow adding build event via ALIAS target

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9201
This commit is contained in:
Brad King
2024-02-01 13:32:11 +00:00
committed by Kitware Robot
4 changed files with 19 additions and 3 deletions
+3
View File
@@ -554,6 +554,9 @@ one of the keywords to make clear the behavior they expect.
.. versionadded:: 3.21
Support for target-dependent generator expressions.
.. versionadded:: 3.29
The ``<target>`` may be an :ref:`ALIAS target <Alias Targets>`.
Examples: Build Events
^^^^^^^^^^^^^^^^^^^^^^
@@ -0,0 +1,5 @@
add_custom_command-target-alias
-------------------------------
* The :ref:`add_custom_command(TARGET) <add_custom_command(TARGET)>`
signature now supports adding build events through :ref:`Alias Targets`.