cmake-W-options.rst 509 B

12345678910111213
  1. cmake-W-options
  2. ---------------
  3. * The :variable:`CMAKE_ERROR_DEPRECATED` variable can now be set using the
  4. ``-Werror=deprecated`` and ``-Wno-error=deprecated`` :manual:`cmake(1)`
  5. options.
  6. * The :variable:`CMAKE_WARN_DEPRECATED` variable can now be set using the
  7. ``-Wdeprecated`` and ``-Wno-deprecated`` :manual:`cmake(1)` options.
  8. * :manual:`cmake(1)` gained options ``-Werror=dev`` and ``-Wno-error=dev``
  9. to control whether developer warnings intended for project authors
  10. are treated as errors.