summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalMinGWMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-16 19:43:17 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-16 19:43:17 (GMT)
commit6b4d3ad32a93b4bedbc76c03cbf088cf31138163 (patch)
treeceafca66c69a8b73b3e610c8efe43bd065067e41 /Source/cmGlobalMinGWMakefileGenerator.cxx
parent0751106f2fbfd1a5eb8c4572f60209cc9b22f841 (diff)
downloadCMake-6b4d3ad32a93b4bedbc76c03cbf088cf31138163.zip
CMake-6b4d3ad32a93b4bedbc76c03cbf088cf31138163.tar.gz
CMake-6b4d3ad32a93b4bedbc76c03cbf088cf31138163.tar.bz2
MinGW: Remove old workaround and use native echo (#12283)
The workaround added by commit 7e92f0b4 (Hack to make echo command work properly in mingw32-make, 2006-10-05) and updated by commit 69356d8a (Juse use cmake -E echo instead of the native echo, 2006-10-13) no longer seems necessary with modern mingw32-make. Furthermore it slows performance due to the time spent loading a cmake process instead of plain echo.
Diffstat (limited to 'Source/cmGlobalMinGWMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalMinGWMakefileGenerator.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmGlobalMinGWMakefileGenerator.cxx b/Source/cmGlobalMinGWMakefileGenerator.cxx
index 2f558dc..a9e7798 100644
--- a/Source/cmGlobalMinGWMakefileGenerator.cxx
+++ b/Source/cmGlobalMinGWMakefileGenerator.cxx
@@ -66,18 +66,6 @@ cmLocalGenerator *cmGlobalMinGWMakefileGenerator::CreateLocalGenerator()
lg->SetPassMakeflags(false);
lg->SetUnixCD(true);
lg->SetMinGWMake(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 just use cmake to
- // echo.
- lg->SetNativeEchoCommand("@$(CMAKE_COMMAND) -E echo ", false);
return lg;
}