summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-05 18:51:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-05 18:51:20 (GMT)
commit7e92f0b4e449057bff26579596ccd11ee8c3c7e3 (patch)
tree3e1283ab96edf3a196309f88895ad1da00d496c9 /Source/cmLocalUnixMakefileGenerator3.cxx
parent5341711012b8d3787d154a5c2e04ead5aa920edd (diff)
downloadCMake-7e92f0b4e449057bff26579596ccd11ee8c3c7e3.zip
CMake-7e92f0b4e449057bff26579596ccd11ee8c3c7e3.tar.gz
CMake-7e92f0b4e449057bff26579596ccd11ee8c3c7e3.tar.bz2
BUG: Hack to make echo command work properly in mingw32-make.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index c39b898..db5d011 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -50,6 +50,7 @@ cmLocalUnixMakefileGenerator3::cmLocalUnixMakefileGenerator3()
this->ColorMakefile = false;
this->SkipPreprocessedSourceRules = false;
this->SkipAssemblySourceRules = false;
+ this->NativeEchoCommand = "@echo ";
}
//----------------------------------------------------------------------------
@@ -1044,7 +1045,7 @@ cmLocalUnixMakefileGenerator3::AppendEcho(std::vector<std::string>& commands,
if(color_name.empty())
{
// Use the native echo command.
- cmd = "@echo ";
+ cmd = this->NativeEchoCommand;
cmd += this->EscapeForShell(line.c_str(), false, true);
}
else