set_tests_properties.rst 529 B

1234567891011121314151617
  1. set_tests_properties
  2. --------------------
  3. Set a property of the tests.
  4. .. code-block:: cmake
  5. set_tests_properties(test1 [test2...] PROPERTIES prop1 value1 prop2 value2)
  6. Sets a property for the tests. If the test is not found, CMake
  7. will report an error.
  8. :manual:`Generator expressions <cmake-generator-expressions(7)>` will be
  9. expanded the same as supported by the test's :command:`add_test` call.
  10. See also the :command:`set_property(TEST)` command.
  11. See :ref:`Test Properties` for the list of properties known to CMake.