diff options
author | Brad King <brad.king@kitware.com> | 2006-10-13 14:22:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-13 14:22:45 (GMT) |
commit | 69356d8a7a73cc1a6842eef7fce552610e901dfe (patch) | |
tree | 9d0599f9eca8049160cadba0e1d48440f4f38c2c /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 023041362d714212d3dcdd39dddd1dd6b83c2ff7 (diff) | |
download | CMake-69356d8a7a73cc1a6842eef7fce552610e901dfe.zip CMake-69356d8a7a73cc1a6842eef7fce552610e901dfe.tar.gz CMake-69356d8a7a73cc1a6842eef7fce552610e901dfe.tar.bz2 |
BUG: Juse use cmake -E echo instead of the native echo on MinGW makefiles. The echo; hack did not work when running from ctest.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 34fbc26..059de85 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -51,6 +51,7 @@ cmLocalUnixMakefileGenerator3::cmLocalUnixMakefileGenerator3() this->SkipPreprocessedSourceRules = false; this->SkipAssemblySourceRules = false; this->NativeEchoCommand = "@echo "; + this->NativeEchoWindows = true; } //---------------------------------------------------------------------------- @@ -1046,7 +1047,8 @@ cmLocalUnixMakefileGenerator3::AppendEcho(std::vector<std::string>& commands, { // Use the native echo command. cmd = this->NativeEchoCommand; - cmd += this->EscapeForShell(line.c_str(), false, true); + cmd += this->EscapeForShell(line.c_str(), false, + this->NativeEchoWindows); } else { |