Spec-Zone.ru › CMake

CMD_UNUSED_CLI

Added in version 4.4.

Command Line:

-W[no-][error=]unused-cli

Presets:

warnings.unusedCli, errors.unusedCli

Default:

Ignore

Warn about variables that are declared on the command line, but not used.

This diagnostic is issued outside of the configuration / generation phases. Accordingly, while the action of this warning category can be queried as usual, the cmake_diagnostic() command is unable to affect the action of this diagnostic.

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

Spec-Zone.ru

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