Files
cmake/Help/variable/CTEST_RESOURCE_SPEC_FILE.rst
T
Zack Galbreath 2e214f0a5b ctest: allow CTest Script variables to be set via the command-line
Allow CTEST_* variables to be defined on the command-line when using
`ctest -T`.

Fixes: #27788
2026-05-14 11:37:57 -04:00

14 lines
533 B
ReStructuredText

CTEST_RESOURCE_SPEC_FILE
------------------------
.. versionadded:: 3.18
Specify the CTest ``ResourceSpecFile`` setting in a :manual:`ctest(1)`
:ref:`Dashboard Client` script,
or on the :program:`ctest` command line via the :ref:`-D <ctest-option-D-var>` option.
This can also be used to specify the resource spec file from a CMake build. If
no ``RESOURCE_SPEC_FILE`` is passed to :command:`ctest_test`, and
``CTEST_RESOURCE_SPEC_FILE`` is not specified in the dashboard script, the
value of this variable from the build is used.