[cmake-commits] alex committed cmExtraCodeBlocksGenerator.cxx 1.9 1.10

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 29 15:19:17 EDT 2007


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

Modified Files:
	cmExtraCodeBlocksGenerator.cxx 
Log Message:

BUG: make paths with spaces work in CodeBlocks
-gcc is always gcc and not mingw

Alex


Index: cmExtraCodeBlocksGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExtraCodeBlocksGenerator.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cmExtraCodeBlocksGenerator.cxx	29 Aug 2007 14:12:09 -0000	1.9
+++ cmExtraCodeBlocksGenerator.cxx	29 Aug 2007 19:19:15 -0000	1.10
@@ -303,14 +303,7 @@
     }
   else if (compilerId == "GNU")
     {
-    if (hostSystemName == "Windows")
-      {
-      compiler = "mingw";
-      }
-    else
-      {
-      compiler = "gcc";
-      }
+    compiler = "gcc";
     }
   return compiler;
 }
@@ -348,16 +341,16 @@
   std::string command = make;
   if (strcmp(this->GlobalGenerator->GetName(), "NMake Makefiles")==0)
     {
-    command += " /NOLOGO /f \\\"";
+    command += " /NOLOGO /f "";
     command += makefile;
-    command += "\\\" ";
+    command += "" ";
     command += target;
     }
   else
     {
-    command += " -f ";
+    command += " -f "";
     command += makefile;
-    command += " ";
+    command += "" ";
     command += target;
     }
   return command;



More information about the Cmake-commits mailing list