diff options
author | Brad King <brad.king@kitware.com> | 2006-10-05 18:51:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-05 18:51:20 (GMT) |
commit | 7e92f0b4e449057bff26579596ccd11ee8c3c7e3 (patch) | |
tree | 3e1283ab96edf3a196309f88895ad1da00d496c9 /Source/cmGlobalMinGWMakefileGenerator.cxx | |
parent | 5341711012b8d3787d154a5c2e04ead5aa920edd (diff) | |
download | CMake-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/cmGlobalMinGWMakefileGenerator.cxx')
-rw-r--r-- | Source/cmGlobalMinGWMakefileGenerator.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/cmGlobalMinGWMakefileGenerator.cxx b/Source/cmGlobalMinGWMakefileGenerator.cxx index f66134c..c024f6f 100644 --- a/Source/cmGlobalMinGWMakefileGenerator.cxx +++ b/Source/cmGlobalMinGWMakefileGenerator.cxx @@ -61,6 +61,22 @@ cmLocalGenerator *cmGlobalMinGWMakefileGenerator::CreateLocalGenerator() lg->SetIgnoreLibPrefix(true); lg->SetPassMakeflags(false); lg->SetUnixCD(true); + + // mingw32-make has trouble running code like + // + // @echo message with spaces + // + // If quotes are added + // + // @echo "message with spaces" + // + // it runs but the quotes are displayed. Instead we can separate + // with a semicolon + // + // @echo;message with spaces + // + // to hack around the problem. + lg->SetNativeEchoCommand("@echo;"); return lg; } |