mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-14 10:30:15 -05:00
Merge topic 'export-doc-config-map' into release-3.27
38737e3970 Help: Mention imported config mapping in export() and install() docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8637
This commit is contained in:
@@ -78,6 +78,10 @@ to automatically export the same targets from the build tree as
|
||||
transitive usage requirements of other targets that link to the
|
||||
object libraries in their implementation.
|
||||
|
||||
This command exports all :ref:`build configurations` from the build tree.
|
||||
See the :variable:`CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>` variable to map
|
||||
configurations of dependent projects to the exported configurations.
|
||||
|
||||
Exporting Targets to Android.mk
|
||||
"""""""""""""""""""""""""""""""
|
||||
|
||||
|
||||
@@ -835,6 +835,8 @@ the ``FILE`` option must be a file name with the ``.cmake`` extension.
|
||||
If a ``CONFIGURATIONS`` option is given then the file will only be installed
|
||||
when one of the named configurations is installed. Additionally, the
|
||||
generated import file will reference only the matching target
|
||||
configurations. See the :variable:`CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>`
|
||||
variable to map configurations of dependent projects to the installed
|
||||
configurations. The ``EXPORT_LINK_INTERFACE_LIBRARIES`` keyword, if
|
||||
present, causes the contents of the properties matching
|
||||
``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when
|
||||
|
||||
Reference in New Issue
Block a user