summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-10-12 02:37:15 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-10-12 07:21:36 (GMT)
commit7cf79f44195a86a907dba770f1f7a361d00e77c2 (patch)
treea8c9b970b55979ec5eecce59aadab91036941235 /Source/cmakemain.cxx
parent5bf85e25178f5d9f19d2f30cf66f088c21e1114a (diff)
downloadCMake-7cf79f44195a86a907dba770f1f7a361d00e77c2.zip
CMake-7cf79f44195a86a907dba770f1f7a361d00e77c2.tar.gz
CMake-7cf79f44195a86a907dba770f1f7a361d00e77c2.tar.bz2
message: Support logging a context with each message
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 6d3e6ee..baf975e 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -73,6 +73,7 @@ const char* cmDocumentationOptions[][2] = {
{ "--log-level=<ERROR|WARNING|NOTICE|STATUS|VERBOSE|DEBUG|TRACE>",
"Set the verbosity of messages from CMake files. "
"--loglevel is also accepted for backward compatibility reasons." },
+ { "--log-context", "Prepend log messages with context, if given" },
{ "--debug-trycompile",
"Do not delete the try_compile build tree. Only "
"useful on one try_compile at a time." },