Spec-Zone.ru › CMake

CTEST_PRESET

Added in version 4.4.

Specify a preset name to use for all relevant ctest(1) Dashboard Client steps in a dashboard script, or on the ctest command line via the -D option.

This variable sets the PRESET option for ctest_configure(), ctest_build(), ctest_test(), and ctest_memcheck() when those commands are not given an explicit PRESET argument and the corresponding command-specific variable (CTEST_CONFIGURE_PRESET, CTEST_BUILD_PRESET, or CTEST_TEST_PRESET) is also unset.

For ctest_configure(), an error is raised if no configure preset with this name exists. For ctest_build(), ctest_test(), and ctest_memcheck(), a warning is emitted and the variable is ignored if no preset of the matching type exists with this name.

See also CTEST_PRESETS_FILE.

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CTEST_PRESET.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API