Help: Link to target_link_libraries from target properies.

This commit is contained in:
Stephen Kelly 2014-11-22 12:46:13 +01:00
parent e12926e793
commit bcface3932
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,8 @@ INTERFACE_LINK_LIBRARIES
List public interface libraries for a library. List public interface libraries for a library.
This property contains the list of transitive link dependencies. When This property contains the list of transitive link dependencies. When
the target is linked into another target the libraries listed (and the target is linked into another target using the
:command:`target_link_libraries` command, the libraries listed (and
recursively their link interface libraries) will be provided to the recursively their link interface libraries) will be provided to the
other target also. This property is overridden by the other target also. This property is overridden by the
:prop_tgt:`LINK_INTERFACE_LIBRARIES` or :prop_tgt:`LINK_INTERFACE_LIBRARIES` or

View File

@ -8,7 +8,8 @@ targets with which the library itself was linked. For an executable
with exports (see the :prop_tgt:`ENABLE_EXPORTS` target property) no with exports (see the :prop_tgt:`ENABLE_EXPORTS` target property) no
default transitive link dependencies are used. This property replaces the default default transitive link dependencies are used. This property replaces the default
transitive link dependencies with an explicit list. When the target transitive link dependencies with an explicit list. When the target
is linked into another target the libraries listed (and recursively is linked into another target using the :command:`target_link_libraries`
command, the libraries listed (and recursively
their link interface libraries) will be provided to the other target their link interface libraries) will be provided to the other target
also. If the list is empty then no transitive link dependencies will also. If the list is empty then no transitive link dependencies will
be incorporated when this target is linked into another target even if be incorporated when this target is linked into another target even if