get_test_property.rst 416 B

123456789101112131415
  1. get_test_property
  2. -----------------
  3. Get a property of the test.
  4. ::
  5. get_test_property(test property VAR)
  6. Get a property from the test. The value of the property is stored in
  7. the variable ``VAR``. If the test or property is not found, ``VAR`` will
  8. be set to "NOTFOUND". For a list of standard properties you can type
  9. ``cmake --help-property-list``.
  10. See also the more general :command:`get_property` command.