summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst')
-rw-r--r--Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
new file mode 100644
index 0000000..75c2a31
--- /dev/null
+++ b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
@@ -0,0 +1,22 @@
+LINK_INTERFACE_LIBRARIES
+------------------------
+
+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
+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.
+
+This property is overriden by the INTERFACE_LINK_LIBRARIES property if
+policy CMP0022 is NEW.
+
+This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.