[cmake-commits] hoffman committed cmLocalUnixMakefileGenerator3.cxx 1.189 1.190

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Feb 27 12:10:45 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv13731

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
ENH: fix for spaces in the path and mingw


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -d -r1.189 -r1.190
--- cmLocalUnixMakefileGenerator3.cxx	22 Feb 2007 02:24:17 -0000	1.189
+++ cmLocalUnixMakefileGenerator3.cxx	27 Feb 2007 17:10:42 -0000	1.190
@@ -1765,8 +1765,9 @@
   // Add the target.
   if (tgt && tgt[0] != '\0')
     {
-    std::string tgt2 = this->Convert(tgt,HOME_OUTPUT,SHELL);
+    std::string tgt2 = this->Convert(tgt,HOME_OUTPUT,MAKEFILE);
     tgt2 = this->ConvertToMakeTarget(tgt2.c_str());
+    tgt2 = this->EscapeForShell(tgt2.c_str());
     cmd += tgt2;
     }
   return cmd;



More information about the Cmake-commits mailing list