summaryrefslogtreecommitdiff
path: root/Help/release/dev/use-linker-depfile.rst
blob: 11237071f4e552a4d02424d454560e89abb2909e (plain)
1
2
3
4
5
6
7
8
9
10
11
use-linker-depfile
------------------

* GNU (and GNU-compatible) linkers gained support for a ``--dependency-file``
  flag in GNU Binutils 2.35 and LLVM's LLD 12.0.0. The
  :ref:`Makefile <Makefile Generators>` and :ref:`Ninja <Ninja Generators>`
  generators will now add these flags so that files read by the linker will
  cause a relink if they change (typically modified timestamps).

  This feature can be controlled by the variable
  :variable:`CMAKE_LINK_DEPENDS_USE_LINKER`.