瀏覽

  • 索引
  • 下一頁 |
  • 上一頁 |
  • CMake »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG

CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG¶

在 3.22 版被加入.

Linker flag used by LINK_WHAT_YOU_USE to tell the linker to link all shared libraries specified on the command line even if none of their symbols is needed. This is an implementation detail used so that the command in CMAKE_LINK_WHAT_YOU_USE_CHECK can check the binary for unnecessarily-linked shared libraries.

備註

Do not rely on this abstraction to intentionally link to shared libraries whose symbols are not needed.

上個主題

CMAKE_<LANG>_LINK_LIBRARY_USING_<FEATURE>_SUPPORTED

下個主題

CMAKE_<LANG>_LINKER_LAUNCHER

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 下一頁 |
  • 上一頁 |
  • CMake »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG
© 版權所有 2000-2025 Kitware, Inc. and Contributors. 使用 Sphinx 8.1.3 建立。