mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Add a `RUNTIME_DEPENDENCY_TARGETS` option for `install(TARGETS)` to automatically install the necessary runtime shared libraries. Closes: #23505
11 lines
515 B
ReStructuredText
11 lines
515 B
ReStructuredText
install-TARGETS-RUNTIME_DEPENDENCY_TARGETS
|
|
------------------------------------------
|
|
|
|
* The :command:`install(TARGETS)` command gained a
|
|
``RUNTIME_DEPENDENCY_TARGETS`` option to install runtime artifacts
|
|
of non-imported shared libraries from the same build that the named
|
|
targets link to. Unlike ``RUNTIME_DEPENDENCIES``, this uses CMake
|
|
target graph information rather than
|
|
:command:`file(GET_RUNTIME_DEPENDENCIES)`. The option cannot be
|
|
used with ``EXPORT`` and may only install runtime artifacts.
|