Навигация

  • указатель
  • вперёд |
  • назад |
  • CMake »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_LINK_DEPENDS_USE_LINKER

CMAKE_LINK_DEPENDS_USE_LINKER¶

Добавлено в версии 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.

Примечание

CMake version 4.0.2 defaults this variable to FALSE if the linker is one from the GNU binutils linkers (ld and ld.bfd for version less than 2.41 or ld.gold for any version) because it generate spurious dependencies on temporary files when LTO is enabled. See GNU bug 30568.

Предыдущий раздел

CMAKE_LINK_DEPENDS_NO_SHARED

Следующий раздел

CMAKE_LINK_GROUP_USING_<FEATURE>

Эта страница

  • Исходный текст

Быстрый поиск

Навигация

  • указатель
  • вперёд |
  • назад |
  • CMake »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_LINK_DEPENDS_USE_LINKER
© Авторские права 2000-2025 Kitware, Inc. and Contributors. Создано с использованием Sphinx 8.1.3.