Spec-Zone.ru › CMake

INSTALL_OBJECT_ONLY_USE_DESTINATION

Added in version 4.2.

Controls whether the install(DESTINATION) for object libraries is used as-is or supplemented with conflict-avoiding subdirectories.

When installing object files, CMake automatically adds objects[-<CONFIG>]/<TARGET_NAME> components to the destination to avoid conflicts. Use this property to suppress these components. Note that when using a single install prefix for multiple configurations (whether via multi-config generators or separate build trees), the destination must use $<CONFIG> to avoid conflicts. Alternatively, the INSTALL_OBJECT_NAME may be used to avoid configuration-based conflicts.

This property is initialized by the value of CMAKE_INSTALL_OBJECT_ONLY_USE_DESTINATION when the target is created.

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

Spec-Zone.ru

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