summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-08-11 15:39:37 +1000
committerBrad King <brad.king@kitware.com>2022-08-15 11:06:31 -0400
commit7ad89f8fb1eeff46e7a636756145b1fb8d6cc9fb (patch)
tree008975c081ac19e0938e443a6502c3d6b48e12be /Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst
parent425f6a0ef6c3fd86d3ed5f12f03e68b01976f036 (diff)
downloadcmake-7ad89f8fb1eeff46e7a636756145b1fb8d6cc9fb.tar.gz
Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR
Diffstat (limited to 'Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst')
-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 86a0f7f66c..32fdcd4a64 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.