Spec-Zone.ru › CMake

INSTALL_OBJECT_NAME_STRATEGY

Added in version 4.2.

INSTALL_OBJECT_NAME_STRATEGY is a string target property variable specifying the strategy to use when naming installed object files. The supported values are:

  • FULL: Object files are named after the associated source file or its OBJECT_NAME property.
  • SHORT: Object files are named based on the hash of the source file name to reduce path lengths.

When unset or the named strategy is not supported, the FULL strategy is used.

This property is initialized by the value of the variable CMAKE_INSTALL_OBJECT_NAME_STRATEGY if it is set when a target is created.

Note

Not all generators support all strategies and paths may differ between generators.

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

Spec-Zone.ru

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