summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-15 15:06:59 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-15 15:06:59 (GMT)
commit2c1a746343ab798640317ed415ea97416cf49599 (patch)
tree365d8f58aea81dff42a0d6ea227a53d89d739173 /Help/prop_tgt
parent7f2eadafea81f6bf10c20ba67fb983628d054a0c (diff)
parent7ad89f8fb1eeff46e7a636756145b1fb8d6cc9fb (diff)
downloadCMake-2c1a746343ab798640317ed415ea97416cf49599.zip
CMake-2c1a746343ab798640317ed415ea97416cf49599.tar.gz
CMake-2c1a746343ab798640317ed415ea97416cf49599.tar.bz2
Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-error
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst b/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst
index 86a0f7f..32fdcd4 100644
--- a/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst
+++ b/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst
@@ -6,5 +6,28 @@ COMPILE_WARNING_AS_ERROR
Specify whether to treat warnings on compile as errors.
If enabled, adds a flag to treat warnings on compile as errors.
+This property is not implemented for all compilers. It is silently ignored
+if there is no implementation for the compiler being used. The currently
+implemented :variable:`compiler IDs <CMAKE_<LANG>_COMPILER_ID>` are:
+
+* ``GNU``
+* ``Clang``
+* ``AppleClang``
+* ``Fujitsu``
+* ``FujitsuClang``
+* ``IBMClang``
+* ``Intel``
+* ``IntelLLVM``
+* ``LCC``
+* ``MSVC``
+* ``NVHPC``
+* ``NVIDIA`` (CUDA)
+* ``QCC``
+* ``SunPro``
+* ``TI``
+* ``VisualAge``
+* ``XL``
+* ``XLClang``
+
This property is initialized by the value of the variable
:variable:`CMAKE_COMPILE_WARNING_AS_ERROR` if it is set when a target is created.