summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/PCH_WARN_INVALID.rst
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-03-18 18:21:08 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2020-03-26 13:24:46 (GMT)
commit2ce08e54891054aeba3f273f9970a7fe8fa8b66c (patch)
treedddfaec9accd7f9d5c0d5cfa1a036cd35e162b4f /Help/prop_tgt/PCH_WARN_INVALID.rst
parent863b0fa2aca3ece98d177f2dbafcad56f7037c8a (diff)
downloadCMake-2ce08e54891054aeba3f273f9970a7fe8fa8b66c.zip
CMake-2ce08e54891054aeba3f273f9970a7fe8fa8b66c.tar.gz
CMake-2ce08e54891054aeba3f273f9970a7fe8fa8b66c.tar.bz2
PCH: add an option to disable `-Winvalid-pch`
Fixes: #20295
Diffstat (limited to 'Help/prop_tgt/PCH_WARN_INVALID.rst')
-rw-r--r--Help/prop_tgt/PCH_WARN_INVALID.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/prop_tgt/PCH_WARN_INVALID.rst b/Help/prop_tgt/PCH_WARN_INVALID.rst
new file mode 100644
index 0000000..36ec348
--- /dev/null
+++ b/Help/prop_tgt/PCH_WARN_INVALID.rst
@@ -0,0 +1,8 @@
+PCH_WARN_INVALID
+----------------
+
+When this property is set to true, the precompile header compiler options
+will contain a compiler flag wich should warn about invalid precompiled
+headers e.g. ``-Winvalid-pch`` for GNU compiler.
+
+The defalut value is ``ON``.