summaryrefslogtreecommitdiffstats
path: root/Source/cmMessageMetadata.h
diff options
context:
space:
mode:
authorMarius Messerschmidt <marius.messerschmidt@googlemail.com>2021-05-18 21:32:44 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-20 11:38:45 (GMT)
commit0a0a0f8a744e2bfa35cdbc90db6e4e23adadd59b (patch)
tree5c8aff122dce421ae24d56d221b77d39658b0c36 /Source/cmMessageMetadata.h
parentbceb8e2ed23340a90d2093e05d50f0cc797f6432 (diff)
downloadCMake-0a0a0f8a744e2bfa35cdbc90db6e4e23adadd59b.zip
CMake-0a0a0f8a744e2bfa35cdbc90db6e4e23adadd59b.tar.gz
CMake-0a0a0f8a744e2bfa35cdbc90db6e4e23adadd59b.tar.bz2
cmMessenger: Color messages to terminal by type
Fixes: #16183
Diffstat (limited to 'Source/cmMessageMetadata.h')
-rw-r--r--Source/cmMessageMetadata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMessageMetadata.h b/Source/cmMessageMetadata.h
index 5688dc5..7b56fae 100644
--- a/Source/cmMessageMetadata.h
+++ b/Source/cmMessageMetadata.h
@@ -2,7 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#pragma once
+#include "cmsys/Terminal.h"
+
struct cmMessageMetadata
{
const char* title = nullptr;
+ int desiredColor = cmsysTerminal_Color_Normal;
};