瀏覽

  • 索引
  • 下一頁 |
  • 上一頁 |
  • CMake »
  • 文件 »
  • cmake-變數(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.1.0-rc1 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 »
  • 文件 »
  • cmake-變數(7) »
  • CMAKE_LINK_DEPENDS_USE_LINKER
© 著作權 2000-2025 Kitware, Inc. and Contributors. 使用 Sphinx 8.1.3 建立。