• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LINK_DIRECTORIES
2----------------
3
4List of linker search directories.
5
6This property holds a :ref:`semicolon-separated list <CMake Language Lists>` of directories
7and is typically populated using the :command:`link_directories` command.
8It gets its initial value from its parent directory, if it has one.
9
10The directory property is used to initialize the :prop_tgt:`LINK_DIRECTORIES`
11target property when a target is created.  That target property is used
12by the generators to set the library search directories for the linker.
13
14Contents of ``LINK_DIRECTORIES`` may use "generator expressions" with
15the syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)`
16manual for available expressions.  See the :manual:`cmake-buildsystem(7)`
17manual for more on defining buildsystem properties.
18