set_tests_properties.rst 557 B

12345678910111213141516171819
  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. Test property values may be specified using
  9. :manual:`generator expressions <cmake-generator-expressions(7)>`
  10. for tests created by the :command:`add_test(NAME)` signature.
  11. See also the :command:`set_property(TEST)` command.
  12. See :ref:`Test Properties` for the list of properties known to CMake.