summaryrefslogtreecommitdiffstats
path: root/Help/command/message.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-07-22 11:02:24 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-22 11:02:50 (GMT)
commitf4131e4e1b5ac9ea8940a04b81e7b2ef2fba5d3f (patch)
tree9153897bf8d83cbce908162fe8d1eeb4cbfa218b /Help/command/message.rst
parentf3bbbb42f17c24737acf54d7626901f185ce6b6b (diff)
parent5f6fd917a3c27f151e0dd05d12a75ab189f546e0 (diff)
downloadCMake-f4131e4e1b5ac9ea8940a04b81e7b2ef2fba5d3f.zip
CMake-f4131e4e1b5ac9ea8940a04b81e7b2ef2fba5d3f.tar.gz
CMake-f4131e4e1b5ac9ea8940a04b81e7b2ef2fba5d3f.tar.bz2
Merge topic 'feature/message-indent'
5f6fd917a3 message(): Control indentation via CMAKE_MESSAGE_INDENT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3464
Diffstat (limited to 'Help/command/message.rst')
-rw-r--r--Help/command/message.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/message.rst b/Help/command/message.rst
index 5dca6b4..3002842 100644
--- a/Help/command/message.rst
+++ b/Help/command/message.rst
@@ -60,6 +60,11 @@ messages one at a time on a status line and other messages in an
interactive pop-up box. The ``--loglevel`` command-line option to each of
these tools can be used to control which messages will be shown.
+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
+a single string by concatenating its list items). For ``STATUS`` to ``TRACE``
+messages, this indenting content will be inserted after the hyphens.
+
CMake Warning and Error message text displays using a simple markup
language. Non-indented text is formatted in line-wrapped paragraphs
delimited by newlines. Indented text is considered pre-formatted.