diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-10-10 12:28:12 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-10-12 06:01:15 (GMT) |
commit | 5bf85e25178f5d9f19d2f30cf66f088c21e1114a (patch) | |
tree | dd22cbdaa84ef3faa5da98ced25adfed3219a507 /Help/command/message.rst | |
parent | aa59badd6f1ab3c40d3674c26e1e55271d25225c (diff) | |
download | CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.zip CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.gz CMake-5bf85e25178f5d9f19d2f30cf66f088c21e1114a.tar.bz2 |
message: Add new CMAKE_MESSAGE_LOG_LEVEL variable
Diffstat (limited to 'Help/command/message.rst')
-rw-r--r-- | Help/command/message.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/message.rst b/Help/command/message.rst index c614286..1acf30a 100644 --- a/Help/command/message.rst +++ b/Help/command/message.rst @@ -59,6 +59,9 @@ The :manual:`curses interface <ccmake(1)>` shows ``STATUS`` to ``TRACE`` messages one at a time on a status line and other messages in an interactive pop-up box. The ``--log-level`` command-line option to each of these tools can be used to control which messages will be shown. +To make a log level persist between CMake runs, the +:variable:`CMAKE_MESSAGE_LOG_LEVEL` variable can be set instead. +Note that the command line option takes precedence over the cache variable. Messages of log levels ``NOTICE`` and below will also have each line preceded by the content of the :variable:`CMAKE_MESSAGE_INDENT` variable (converted to |