COMPILE_WARNING_AS_ERROR.rst 336 B

12345678910
  1. COMPILE_WARNING_AS_ERROR
  2. ------------------------
  3. .. versionadded:: 3.24
  4. Specify whether to treat warnings on compile as errors.
  5. If enabled, adds a flag to treat warnings on compile as errors.
  6. This property is initialized by the value of the variable
  7. :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` if it is set when a target is created.