CTEST_SUBMIT_PARTS — CMake 4.4.0 Documentation

# CTEST_SUBMIT_PARTS

Added in version 4.4.

Specify a semicolon-separated list of parts for the `ctest_submit()` command to submit in a `ctest(1)` Dashboard Client script, or on the ctest command line via the `-D` option.

Valid part names are the same as those accepted by the `PARTS` option of `ctest_submit()`: `Start`, `Update`, `Configure`, `Build`, `Test`, `Coverage`, `MemCheck`, `Submit`, `Notes`, `ExtraFiles`, `Upload`, and `Done`.

If the `ctest_submit()` command is given an explicit `PARTS` argument, that argument takes precedence and this variable is ignored.

When this variable is empty or unset (and no explicit `PARTS` argument is given), all available parts are submitted (the default behavior).

Example --- submit only the Configure result in a single `ctest` invocation:

    ctest -T Configure -T Submit -D CTEST_SUBMIT_PARTS=Configure