summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/LINK_FLAGS.rst
blob: 3a344e65cc6d9764478fee185d1cbb3750a30f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LINK_FLAGS
----------

Additional flags to use when linking this target if it is a shared library,
module library, or an executable. Static libraries need to use
:prop_tgt:`STATIC_LIBRARY_FLAGS`.

The LINK_FLAGS property, managed as a string, can be used to add extra flags
to the link step of a target.  :prop_tgt:`LINK_FLAGS_<CONFIG>` will add to the
configuration ``<CONFIG>``, for example, ``DEBUG``, ``RELEASE``,
``MINSIZEREL``, ``RELWITHDEBINFO``, ...

.. note::

  This property has been superseded by :prop_tgt:`LINK_OPTIONS` property.