https://github.com/Kitware/CMake
Raw File
Tip revision: ff8c3acc0fbe037931680fc74b1a2d3f0af58c79 authored by Brad King on 18 November 2021, 15:51:22 UTC
CMake 3.22.0
Tip revision: ff8c3ac
set_tests_properties.rst
set_tests_properties
--------------------

Set a property of the tests.

.. code-block:: cmake

  set_tests_properties(test1 [test2...] PROPERTIES prop1 value1 prop2 value2)

Sets a property for the tests.  If the test is not found, CMake
will report an error.
:manual:`Generator expressions <cmake-generator-expressions(7)>` will be
expanded the same as supported by the test's :command:`add_test` call.

See also the :command:`set_property(TEST)` command.

See :ref:`Test Properties` for the list of properties known to CMake.
back to top