https://github.com/Kitware/CMake
Raw File
Tip revision: bef6a27531dc7ce2da8c89a2182cf6ac54c7886a authored by Brad King on 29 March 2023, 18:19:57 UTC
CMake 3.26.2
Tip revision: bef6a27
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.

Test property values may be specified using
:manual:`generator expressions <cmake-generator-expressions(7)>`
for tests created by the :command:`add_test(NAME)` signature.

See Also
^^^^^^^^

* :command:`add_test`
* :command:`define_property`
* the more general :command:`set_property` command
* :ref:`Target Properties` for the list of properties known to CMake
back to top