summaryrefslogtreecommitdiffstats
path: root/Help/command/set_property.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-03-21 10:32:21 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-03-21 10:39:54 (GMT)
commitff6234509e34269767b4f7d97a824e5899d0ba2a (patch)
tree8f16ed9ad4b48254d349a3afdb970d118e59645d /Help/command/set_property.rst
parent9cc97ab4dc647b1ca9b67bb7300453c8341607a7 (diff)
downloadCMake-ff6234509e34269767b4f7d97a824e5899d0ba2a.zip
CMake-ff6234509e34269767b4f7d97a824e5899d0ba2a.tar.gz
CMake-ff6234509e34269767b4f7d97a824e5899d0ba2a.tar.bz2
Help: Clarify behavior of INHERITED properties
Fixes: #17839
Diffstat (limited to 'Help/command/set_property.rst')
-rw-r--r--Help/command/set_property.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/Help/command/set_property.rst b/Help/command/set_property.rst
index 5ed788e..c89e1ce 100644
--- a/Help/command/set_property.rst
+++ b/Help/command/set_property.rst
@@ -59,11 +59,17 @@ be one of the following:
The required ``PROPERTY`` option is immediately followed by the name of
the property to set. Remaining arguments are used to compose the
-property value in the form of a semicolon-separated list. If the
-``APPEND`` option is given the list is appended to any existing property
-value. If the ``APPEND_STRING`` option is given the string is append to any
-existing property value as string, i.e. it results in a longer string
-and not a list of strings.
+property value in the form of a semicolon-separated list.
+
+If the ``APPEND`` option is given the list is appended to any existing
+property value. If the ``APPEND_STRING`` option is given the string is
+appended to any existing property value as string, i.e. it results in a
+longer string and not a list of strings. When using ``APPEND`` or
+``APPEND_STRING`` with a property defined to support ``INHERITED``
+behavior (see :command:`define_property`), no inheriting occurs when
+finding the initial value to append to. If the property is not already
+directly set in the nominated scope, the command will behave as though
+``APPEND`` or ``APPEND_STRING`` had not been given.
See the :manual:`cmake-properties(7)` manual for a list of properties
in each scope.