CTEST_RESOURCE_SPEC_FILE — CMake 4.4.0 Documentation

# CTEST_RESOURCE_SPEC_FILE

Added in version 3.18.

Specify the CTest `ResourceSpecFile` setting in a `ctest(1)` Dashboard Client script, or on the ctest command line via the `-D` option.

This can also be used to specify the resource spec file from a CMake build. If no `RESOURCE_SPEC_FILE` is passed to `ctest_test()`, and `CTEST_RESOURCE_SPEC_FILE` is not specified in the dashboard script, the value of this variable from the build is used.