summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-03-30 20:39:03 (GMT)
committerBrad King <brad.king@kitware.com>2006-03-30 20:39:03 (GMT)
commiteb31755eb204e3c7981961442ef80858cb8d4ff5 (patch)
tree73048c448f7561e606e857339be3bfcba9299e07 /Source/cmLocalUnixMakefileGenerator3.h
parent5a2668b326471874ca69357af831cdcf1575c621 (diff)
downloadCMake-eb31755eb204e3c7981961442ef80858cb8d4ff5.zip
CMake-eb31755eb204e3c7981961442ef80858cb8d4ff5.tar.gz
CMake-eb31755eb204e3c7981961442ef80858cb8d4ff5.tar.bz2
ENH: Implemented VT100 terminal escape sequences. If CMAKE_COLOR_MAKEFILE is set then messages produced by makefiles will be in color if the native tool supports it. This addresses bug#3060.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index 47f31db..69e4900 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -152,7 +152,10 @@ public:
std::string GetRecursiveMakeCall(const char *makefile, const char* tgt);
// append an echo command
- void AppendEcho(std::vector<std::string>& commands, const char* text);
+ enum EchoColor { EchoNormal, EchoDepend, EchoBuild, EchoLink,
+ EchoGenerate, EchoGlobal };
+ void AppendEcho(std::vector<std::string>& commands, const char* text,
+ EchoColor color = EchoNormal);
static std::string GetTargetDirectory(cmTarget& target);