https://github.com/Kitware/CMake
Raw File
Tip revision: 2a0c105cf08190284b288057c693eeddef5066fc authored by Brad King on 02 February 2023, 18:20:23 UTC
CMake 3.26.0-rc1
Tip revision: 2a0c105
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