CTEST_CONFIGURE_OPTIONSΒΆ

Added in version 4.6.

Specify a semicolon-separated list of command-line options for the ctest_configure() command to pass to cmake(1) in a ctest(1) Dashboard Client script, or on the ctest command line via the -D option.

If the ctest_configure() command is given an explicit OPTIONS argument, that argument takes precedence and this variable is ignored.

This variable is ignored when CTEST_CONFIGURE_COMMAND is used.

Example --- pass an extra cache entry in a single ctest invocation:

ctest -T Configure -D CTEST_CONFIGURE_OPTIONS=-DFOO=ON