summaryrefslogtreecommitdiffstats
path: root/Help/command/get_cmake_property.rst
blob: bcfc5e8317c404b1739ec9cb96884eb1ade8e499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
get_cmake_property
------------------

Get a property of the CMake instance.

::

  get_cmake_property(VAR property)

Get a 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".  Some supported properties include: VARIABLES,
CACHE_VARIABLES, COMMANDS, MACROS, and COMPONENTS.

See also the more general get_property() command.