Navigation

  • index
  • next |
  • previous |
  • CMake »
  • 3.28.0-rc1 Documentation »
  • cmake-variables(7) »
  • CMAKE_LINK_DEPENDS_USE_LINKER

CMAKE_LINK_DEPENDS_USE_LINKERΒΆ

New in version 3.27.

For the Makefile and Ninja generators, link dependencies are now, for a selection of linkers, generated by the linker itself. By defining this variable with value FALSE, you can deactivate this feature.

This feature is also deactivated if the LINK_DEPENDS_NO_SHARED target property is true.

Note

CMake version 3.28.0-rc1 defaults this variable to FALSE because GNU binutils linkers (ld, ld.bfd, ld.gold) generate spurious dependencies on temporary files when LTO is enabled. See GNU bug 30568.

Previous topic

CMAKE_LINK_DEPENDS_NO_SHARED

Next topic

CMAKE_LINK_GROUP_USING_<FEATURE>

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • CMake »
  • 3.28.0-rc1 Documentation »
  • cmake-variables(7) »
  • CMAKE_LINK_DEPENDS_USE_LINKER
© Copyright 2000-2023 Kitware, Inc. and Contributors. Created using Sphinx 7.2.6.