diff options
author | Brad King <brad.king@kitware.com> | 2007-12-19 22:15:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-19 22:15:41 (GMT) |
commit | 73704ede42cdaa6e4a985329506d116db3425b3f (patch) | |
tree | 54ecbe01239632bda57e1cbf1377d9bfa9d48c55 /Source/cmSystemTools.h | |
parent | f0824c7a19b34a387ba159b0c80c2688ff6dae20 (diff) | |
download | CMake-73704ede42cdaa6e4a985329506d116db3425b3f.zip CMake-73704ede42cdaa6e4a985329506d116db3425b3f.tar.gz CMake-73704ede42cdaa6e4a985329506d116db3425b3f.tar.bz2 |
ENH: Enabled color printing of "Scanning dependencies of target ..." message.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index bbc9ba6..395b4d6 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -358,6 +358,12 @@ public: /** Get the directory containing the currently running executable. */ static const char* GetExecutableDirectory(); +#if defined(CMAKE_BUILD_WITH_CMAKE) + /** Echo a message in color using KWSys's Terminal cprintf. */ + static void MakefileColorEcho(int color, const char* message, + bool newline, bool enabled); +#endif + private: static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; |