CMAKE_WARN_DEPRECATED.rst 391 B

12345678910
  1. CMAKE_WARN_DEPRECATED
  2. ---------------------
  3. Whether to issue warnings for deprecated functionality.
  4. If not ``FALSE``, use of deprecated functionality will issue warnings.
  5. If this variable is not set, CMake behaves as if it were set to ``TRUE``.
  6. When running :manual:`cmake(1)`, this option can be enabled with the
  7. ``-Wdeprecated`` option, or disabled with the ``-Wno-deprecated`` option.