diff options
author | Craig Scott <craig.scott@crascit.com> | 2020-06-18 10:26:03 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2020-06-18 10:26:03 (GMT) |
commit | a12d53acf3e2a5aa67a484907335b0286667fee2 (patch) | |
tree | a9c1c4ed2e76f31837d861234011ce68faa9e112 /Help/prop_tgt/PCH_WARN_INVALID.rst | |
parent | 95a16f7805a73f777945676d13a93b324e4c1d0d (diff) | |
download | CMake-a12d53acf3e2a5aa67a484907335b0286667fee2.zip CMake-a12d53acf3e2a5aa67a484907335b0286667fee2.tar.gz CMake-a12d53acf3e2a5aa67a484907335b0286667fee2.tar.bz2 |
Help: Add missing PCH_WARN_INVALID docs and related cleanups
Diffstat (limited to 'Help/prop_tgt/PCH_WARN_INVALID.rst')
-rw-r--r-- | Help/prop_tgt/PCH_WARN_INVALID.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/prop_tgt/PCH_WARN_INVALID.rst b/Help/prop_tgt/PCH_WARN_INVALID.rst index 36ec348..96e1abd 100644 --- a/Help/prop_tgt/PCH_WARN_INVALID.rst +++ b/Help/prop_tgt/PCH_WARN_INVALID.rst @@ -2,7 +2,9 @@ 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 +will contain a compiler flag which should warn about invalid precompiled headers e.g. ``-Winvalid-pch`` for GNU compiler. -The defalut value is ``ON``. +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``. |