Răsfoiți Sursa

Merge topic 'alias-set-target-prop' into release-3.27

aed550410a Help: Clarify that you can't set properties on ALIAS targets

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8591
Brad King 2 ani în urmă
părinte
comite
f9fe9099ab
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 2 0
      Help/command/set_property.rst
  2. 2 0
      Help/command/set_target_properties.rst

+ 2 - 0
Help/command/set_property.rst

@@ -38,6 +38,8 @@ It must be one of the following:
   Scope may name zero or more existing targets.
   Scope may name zero or more existing targets.
   See also the :command:`set_target_properties` command.
   See also the :command:`set_target_properties` command.
 
 
+  :ref:`Alias Targets` do not support setting target properties.
+
 ``SOURCE``
 ``SOURCE``
   Scope may name zero or more source files.  By default, source file properties
   Scope may name zero or more source files.  By default, source file properties
   are only visible to targets added in the same directory (``CMakeLists.txt``).
   are only visible to targets added in the same directory (``CMakeLists.txt``).

+ 2 - 0
Help/command/set_target_properties.rst

@@ -15,6 +15,8 @@ set next.  You can use any prop value pair you want and extract it
 later with the :command:`get_property` or :command:`get_target_property`
 later with the :command:`get_property` or :command:`get_target_property`
 command.
 command.
 
 
+:ref:`Alias Targets` do not support setting target properties.
+
 See Also
 See Also
 ^^^^^^^^
 ^^^^^^^^