summaryrefslogtreecommitdiffstats
path: root/Help/command/get_test_property.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/get_test_property.rst')
-rw-r--r--Help/command/get_test_property.rst12
1 files changed, 5 insertions, 7 deletions
diff --git a/Help/command/get_test_property.rst b/Help/command/get_test_property.rst
index 866894d..3f1a64c 100644
--- a/Help/command/get_test_property.rst
+++ b/Help/command/get_test_property.rst
@@ -8,13 +8,11 @@ Get a property of the test.
get_test_property(<test> <property> [DIRECTORY <dir>] <variable>)
Get a property from the test. The value of the property is stored in
-the specified ``<variable>``. If the test property is not found, the behavior
-depends on whether it has been defined to be an ``INHERITED`` property
-or not (see :command:`define_property`). Non-inherited properties will set
-``<variable>`` to ``NOTFOUND``, whereas inherited properties will search the
-relevant parent scope as described for the :command:`define_property`
-command and if still unable to find the property, ``<variable>`` will be set to
-an empty string.
+the specified ``<variable>``. If the ``<test>`` is not defined, or the
+test property is not found, ``<variable>`` will be set to ``NOTFOUND``.
+If the test property was defined to be an ``INHERITED`` property (see
+:command:`define_property`), the search will include the relevant parent
+scopes, as described for the :command:`define_property` command.
For a list of standard properties you can type
:option:`cmake --help-property-list`.