Navigation

  • index
  • next |
  • previous |
  • CMake »
  • 3.25.0-rc2 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, ...

Note

This property has been superseded by LINK_OPTIONS property.

Previous topic

LINK_DIRECTORIES

Next topic

LINK_FLAGS_<CONFIG>

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • CMake »
  • 3.25.0-rc2 Documentation »
  • cmake-properties(7) »
  • LINK_FLAGS
© Copyright 2000-2022 Kitware, Inc. and Contributors. Created using Sphinx 4.4.0.