diff options
Diffstat (limited to 'share/cmake-3.22/Help/prop_tgt/PCH_WARN_INVALID.rst')
-rw-r--r-- | share/cmake-3.22/Help/prop_tgt/PCH_WARN_INVALID.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/prop_tgt/PCH_WARN_INVALID.rst b/share/cmake-3.22/Help/prop_tgt/PCH_WARN_INVALID.rst new file mode 100644 index 0000000..2d5ec55 --- /dev/null +++ b/share/cmake-3.22/Help/prop_tgt/PCH_WARN_INVALID.rst @@ -0,0 +1,12 @@ +PCH_WARN_INVALID +---------------- + +.. versionadded:: 3.18 + +When this property is set to true, the precompile header compiler options +will contain a compiler flag which should warn about invalid precompiled +headers e.g. ``-Winvalid-pch`` for GNU compiler. + +This property is initialized by the value of the +:variable:`CMAKE_PCH_WARN_INVALID` variable if it is set when a target is +created. If that variable is not set, the property defaults to ``ON``. |