get_cmake_property.rst 419 B

123456789101112131415
  1. get_cmake_property
  2. ------------------
  3. Get a property of the CMake instance.
  4. ::
  5. get_cmake_property(VAR property)
  6. Get a property from the CMake instance. The value of the property is
  7. stored in the variable ``VAR``. If the property is not found, ``VAR``
  8. will be set to "NOTFOUND". See the :manual:`cmake-properties(7)` manual
  9. for available properties.
  10. See also the more general :command:`get_property` command.