link-warning-as-error.rst 541 B

1234567891011
  1. link-warning-as-error
  2. ---------------------
  3. * The :variable:`CMAKE_LINK_WARNING_AS_ERROR` variable and corresponding
  4. :prop_tgt:`LINK_WARNING_AS_ERROR` target property were added to enable
  5. link with a linker-specific flag to treat warnings as errors.
  6. * The :manual:`cmake(1)` command line gained the
  7. :option:`--link-no-warning-as-error <cmake --link-no-warning-as-error>`
  8. option which causes the effects of the :prop_tgt:`LINK_WARNING_AS_ERROR`
  9. target property and :variable:`CMAKE_LINK_WARNING_AS_ERROR` variable to be
  10. ignored.