mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
CMake historically has forced an `objects[-<CONFIG>]/<TARGET_NAME>` subdirectory under an `OBJECT` library installation's `OBJECTS DESTINATION` which may be unwanted. Support skipping this component with a target property.
12 lines
438 B
ReStructuredText
12 lines
438 B
ReStructuredText
CMAKE_INSTALL_OBJECT_ONLY_USE_DESTINATION
|
|
-----------------------------------------
|
|
|
|
.. versionadded:: 4.2
|
|
|
|
Controls whether the ``install(DESTINATION)`` for object libraries is used
|
|
as-is or supplemented with conflict-avoiding subdirectories.
|
|
|
|
``CMAKE_INSTALL_OBJECT_ONLY_USE_DESTINATION`` is used to initialize the
|
|
:prop_tgt:`INSTALL_OBJECT_ONLY_USE_DESTINATION` property on all targets. See
|
|
that target property for more information.
|