summaryrefslogtreecommitdiff
path: root/share/cmake-3.5/Help/command/get_directory_property.rst
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-05-17 10:02:28 +0100
committerPavel Labath <labath@google.com>2016-05-18 16:41:34 +0000
commit2558e7154fe7da69d90c6f99632a84b624a90a9a (patch)
tree01b6efc8719b523e315cc868d31f203602f385f7 /share/cmake-3.5/Help/command/get_directory_property.rst
parent091caafda44f7fe52a94387b2eafcf204ea909d3 (diff)
downloadlinux-x86-2558e7154fe7da69d90c6f99632a84b624a90a9a.tar.gz
source: go/ab/2846898 Change-Id: I762a07bd4ff86251b349d36ae9359256204cd313
Diffstat (limited to 'share/cmake-3.5/Help/command/get_directory_property.rst')
-rw-r--r--share/cmake-3.5/Help/command/get_directory_property.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/share/cmake-3.5/Help/command/get_directory_property.rst b/share/cmake-3.5/Help/command/get_directory_property.rst
new file mode 100644
index 0000000..e50abe0
--- /dev/null
+++ b/share/cmake-3.5/Help/command/get_directory_property.rst
@@ -0,0 +1,24 @@
+get_directory_property
+----------------------
+
+Get a property of ``DIRECTORY`` scope.
+
+::
+
+ get_directory_property(<variable> [DIRECTORY <dir>] <prop-name>)
+
+Store a property of directory scope in the named variable. If the
+property is not defined the empty-string is returned. The ``DIRECTORY``
+argument specifies another directory from which to retrieve the
+property value. The specified directory must have already been
+traversed by CMake.
+
+::
+
+ get_directory_property(<variable> [DIRECTORY <dir>]
+ DEFINITION <var-name>)
+
+Get a variable definition from a directory. This form is useful to
+get a variable definition from another directory.
+
+See also the more general :command:`get_property` command.