summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake.1.rst
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-10-10 12:28:12 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-10-12 06:01:15 (GMT)
commit5bf85e25178f5d9f19d2f30cf66f088c21e1114a (patch)
treedd22cbdaa84ef3faa5da98ced25adfed3219a507 /Help/manual/cmake.1.rst
parentaa59badd6f1ab3c40d3674c26e1e55271d25225c (diff)
downloadCMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.zip
CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.gz
CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.bz2
message: Add new CMAKE_MESSAGE_LOG_LEVEL variable
Diffstat (limited to 'Help/manual/cmake.1.rst')
-rw-r--r--Help/manual/cmake.1.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 4ab55a0..08b7534 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -206,6 +206,11 @@ Options
The :command:`message` command will only output messages of the specified
log level or higher. The default log level is ``STATUS``.
+ To make a log level persist between CMake runs, set
+ :variable:`CMAKE_MESSAGE_LOG_LEVEL` as a cache variable instead.
+ If both the command line option and the variable are given, the command line
+ option takes precedence.
+
For backward compatibility reasons, ``--loglevel`` is also accepted as a
synonym for this option.