List of direct link dependencies.
This property specifies the list of libraries or targets which will be
used for linking. In addition to accepting values from the
target_link_libraries() command, values may be set directly on
any target using the
The value of this property is used by the generators to construct the
link rule for the target. The direct link dependencies are linked first,
followed by indirect dependencies from the transitive closure of the
LINK_LIBRARIES may use
generator expressions with the
CMP0131 affects the behavior of the
LINK_ONLY generator expression for this property.
cmake-buildsystem(7) manual for more on defining
A call to
target_link_libraries(<target> ...) may update this
<target> was not created in the same
directory as the call then
target_link_libraries() will wrap each
entry with the form
::@(directory-id);...;::@, where the
literal and the
(directory-id) is unspecified.
This tells the generators that the named libraries must be looked up in
the scope of the caller rather than in the scope in which the
<target> was created. Valid directory ids are stripped on export
In advanced use cases, the list of direct link dependencies specified
by this property may be updated by usage requirements from dependencies.
INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE target properties.