summaryrefslogtreecommitdiff
path: root/share/cmake-3.6/Help/command/get_directory_property.rst
diff options
context:
space:
mode:
authorChaoren Lin <aoe@google.com>2016-07-12 11:53:58 -0700
committerChaoren Lin <aoe@google.com>2016-07-13 11:35:29 -0700
commitecf0ec027d28d2c26ce13075003dc57db20d279e (patch)
tree8ad8b5881235f6e813451e8916201104d8155bd5 /share/cmake-3.6/Help/command/get_directory_property.rst
parent091caafda44f7fe52a94387b2eafcf204ea909d3 (diff)
downloadlinux-x86-ecf0ec027d28d2c26ce13075003dc57db20d279e.tar.gz
Update prebuilts to CMake 3.6.0-rc2 (go/ab/3043163).
Change-Id: Ibe6715663df09f1d9ac5fcb588e12c657b2caab1
Diffstat (limited to 'share/cmake-3.6/Help/command/get_directory_property.rst')
-rw-r--r--share/cmake-3.6/Help/command/get_directory_property.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/share/cmake-3.6/Help/command/get_directory_property.rst b/share/cmake-3.6/Help/command/get_directory_property.rst
new file mode 100644
index 0000000..e50abe0
--- /dev/null
+++ b/share/cmake-3.6/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.