Bladeren bron

Help: Format the LINK_INTERFACE_LIBRARIES target properies.

Stephen Kelly 11 jaren geleden
bovenliggende
commit
e12926e793
2 gewijzigde bestanden met toevoegingen van 15 en 12 verwijderingen
  1. 9 7
      Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
  2. 6 5
      Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst

+ 9 - 7
Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst

@@ -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
 targets with which the library itself was linked.  For an executable
-with exports (see the ENABLE_EXPORTS property) no default transitive
-link dependencies are used.  This property replaces the default
+with exports (see the :prop_tgt:`ENABLE_EXPORTS` target property) no
+default transitive link dependencies are used.  This property replaces the default
 transitive link dependencies with an explicit list.  When the target
 is linked into another target the libraries listed (and recursively
 their link interface libraries) will be provided to the other target
 also.  If the list is empty then no transitive link dependencies will
 be incorporated when this target is linked into another target even if
 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
-a target is created.  This property is ignored for STATIC libraries.
+value of the :variable:`CMAKE_LINK_INTERFACE_LIBRARIES` variable if it is
+set when a target is created.  This property is ignored for ``STATIC``
+libraries.
 
-This property is overridden by the INTERFACE_LINK_LIBRARIES property if
-policy CMP0022 is NEW.
+This property is overridden by the :prop_tgt:`INTERFACE_LINK_LIBRARIES`
+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.

+ 6 - 5
Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst

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