Help: Format the LINK_INTERFACE_LIBRARIES target properies.

This commit is contained in:
Stephen Kelly 2014-11-22 12:45:43 +01:00
parent c8540e9466
commit e12926e793
2 changed files with 15 additions and 12 deletions

View File

@ -5,18 +5,20 @@ List public interface libraries for a shared library or executable.
By default linking to a shared library target transitively links to By default linking to a shared library target transitively links to
targets with which the library itself was linked. For an executable targets with which the library itself was linked. For an executable
with exports (see the ENABLE_EXPORTS property) no default transitive with exports (see the :prop_tgt:`ENABLE_EXPORTS` target property) no
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 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
the default set is non-empty. This property is initialized by the the default set is non-empty. This property is initialized by the
value of the variable CMAKE_LINK_INTERFACE_LIBRARIES if it is set when value of the :variable:`CMAKE_LINK_INTERFACE_LIBRARIES` variable if it is
a target is created. This property is ignored for STATIC libraries. set when a target is created. This property is ignored for ``STATIC``
libraries.
This property is overridden by the INTERFACE_LINK_LIBRARIES property if This property is overridden by the :prop_tgt:`INTERFACE_LINK_LIBRARIES`
policy CMP0022 is NEW. property if policy :policy:`CMP0022` is ``NEW``.
This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead. This property is deprecated. Use :prop_tgt:`INTERFACE_LINK_LIBRARIES`
instead.

View File

@ -4,10 +4,11 @@ LINK_INTERFACE_LIBRARIES_<CONFIG>
Per-configuration list of public interface libraries for a target. Per-configuration list of public interface libraries for a target.
This is the configuration-specific version of This is the configuration-specific version of
LINK_INTERFACE_LIBRARIES. If set, this property completely overrides :prop_tgt:`LINK_INTERFACE_LIBRARIES`. If set, this property completely
the generic property for the named configuration. overrides the generic property for the named configuration.
This property is overridden by the INTERFACE_LINK_LIBRARIES property if This property is overridden by the :prop_tgt:`INTERFACE_LINK_LIBRARIES`
policy CMP0022 is NEW. property if policy :policy:`CMP0022` is ``NEW``.
This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead. This property is deprecated. Use :prop_tgt:`INTERFACE_LINK_LIBRARIES`
instead.