summaryrefslogtreecommitdiffstats
path: root/Help/command/get_cmake_property.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-05 15:18:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-01-05 15:18:41 (GMT)
commit47bfca8494f6ba5bd9eab686f4305097693927d8 (patch)
tree5f7996da439e7d2d975eefc7acc1b97e17041fb8 /Help/command/get_cmake_property.rst
parentf6f33385d776c965a73d5c2d750cc77e99fd186f (diff)
parent8086badba452829beb7d87499f212edf9e51b7af (diff)
downloadCMake-47bfca8494f6ba5bd9eab686f4305097693927d8.zip
CMake-47bfca8494f6ba5bd9eab686f4305097693927d8.tar.gz
CMake-47bfca8494f6ba5bd9eab686f4305097693927d8.tar.bz2
Merge topic 'doc-get-properties-inherited' into release-3.28
8086badba4 Help: Fix wrong return values for unset inherited properties 1ca5ec67b0 Help: Add missing DIRECTORY keyword to set_tests_properties() signature 34379f005b Help: Use <variable> consistently in property getter commands 29ccc9a4cd Help: Use <xxx> for non-keyword arguments in property command signatures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9131
Diffstat (limited to 'Help/command/get_cmake_property.rst')
-rw-r--r--Help/command/get_cmake_property.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/get_cmake_property.rst b/Help/command/get_cmake_property.rst
index b1d18a0..9f78a86 100644
--- a/Help/command/get_cmake_property.rst
+++ b/Help/command/get_cmake_property.rst
@@ -5,11 +5,11 @@ Get a global property of the CMake instance.
.. code-block:: cmake
- get_cmake_property(<var> <property>)
+ get_cmake_property(<variable> <property>)
Gets a global property from the CMake instance. The value of
-the ``<property>`` is stored in the variable ``<var>``.
-If the property is not found, ``<var>`` will be set to ``NOTFOUND``.
+the ``<property>`` is stored in the specified ``<variable>``.
+If the property is not found, ``<variable>`` will be set to ``NOTFOUND``.
See the :manual:`cmake-properties(7)` manual for available properties.
In addition to global properties, this command (for historical reasons)