导航

  • 索引
  • 下一页 |
  • 上一页 |
  • CMake »
  • Documentation »
  • cmake-properties(7) »
  • LINK_FLAGS

LINK_FLAGS¶

Additional flags to use when linking this target if it is a shared library, module library, or an executable. Static libraries need to use STATIC_LIBRARY_OPTIONS or STATIC_LIBRARY_FLAGS properties.

The LINK_FLAGS property, managed as a string, can be used to add extra flags to the link step of a target. LINK_FLAGS_<CONFIG> will add to the configuration <CONFIG>, for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO, ...

备注

This property has been superseded by LINK_OPTIONS property.

上一主题

LINK_DIRECTORIES

下一主题

LINK_FLAGS_<CONFIG>

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 下一页 |
  • 上一页 |
  • CMake »
  • Documentation »
  • cmake-properties(7) »
  • LINK_FLAGS
© 版权所有 2000-2025 Kitware, Inc. and Contributors. 由 Sphinx 8.1.3创建。