summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-19 22:15:41 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-19 22:15:41 (GMT)
commit73704ede42cdaa6e4a985329506d116db3425b3f (patch)
tree54ecbe01239632bda57e1cbf1377d9bfa9d48c55 /Source/cmMakefileTargetGenerator.cxx
parentf0824c7a19b34a387ba159b0c80c2688ff6dae20 (diff)
downloadCMake-73704ede42cdaa6e4a985329506d116db3425b3f.zip
CMake-73704ede42cdaa6e4a985329506d116db3425b3f.tar.gz
CMake-73704ede42cdaa6e4a985329506d116db3425b3f.tar.bz2
ENH: Enabled color printing of "Scanning dependencies of target ..." message.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 265dee7..eda3ac3 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -805,7 +805,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
// cmake -E cmake_depends <generator>
// <home-src-dir> <start-src-dir>
// <home-out-dir> <start-out-dir>
- // <dep-info>
+ // <dep-info> --color=$(COLOR)
//
// This gives the dependency scanner enough information to recreate
// the state of our local generator sufficiently for its needs.
@@ -824,7 +824,8 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
cmLocalGenerator::FULL, cmLocalGenerator::SHELL)
<< " "
<< this->Convert(this->InfoFileNameFull.c_str(),
- cmLocalGenerator::FULL, cmLocalGenerator::SHELL);
+ cmLocalGenerator::FULL, cmLocalGenerator::SHELL)
+ << " --color=$(COLOR)";
commands.push_back(depCmd.str());
// Make sure all custom command outputs in this target are built.