summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/LINK_LIBRARIES.rst
blob: b18fe30194d8113a404b70c2f566bad203b31cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LINK_LIBRARIES
--------------

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 set_property command.

The target property values are used by the generators to set the link
libraries for the compiler.  See also the target_link_libraries
command.

Contents of LINK_LIBRARIES may use "generator expressions" with the syntax
"$<...>".  See the :manual:`cmake-generator-expressions(7)` manual for
available expressions.