导航

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

CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG¶

Added in version 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创建。