$<LINK_LIBRARY>: Add LINK_LIBRARY_OVERRIDE target property

To enable the management of incompatible $<LINK_LIBRARY> declarations,
add LINK_LIBRARY_OVERRIDE and LINK_LIBRARY_OVERRIDE_<LIBRARY> target
properties.
This commit is contained in:
Marc Chevrier
2021-11-19 19:08:30 +01:00
parent 42965799b4
commit 2a6b0415d7
41 changed files with 383 additions and 31 deletions
+4 -1
View File
@@ -5,4 +5,7 @@ Genex-LINK_LIBRARY
libraries are specified during the link step. The variables
:variable:`CMAKE_<LANG>_LINK_USING_<FEATURE>` and
:variable:`CMAKE_LINK_USING_<FEATURE>` are used to define features usable by
the :genex:`LINK_LIBRARY` generator expression.
the :genex:`LINK_LIBRARY` generator expression. Moreover, the
:prop_tgt:`LINK_LIBRARY_OVERRIDE` and
:prop_tgt:`LINK_LIBRARY_OVERRIDE_<LIBRARY>` target properties are available
to resolve incompatible features.