[cmake-commits] hoffman committed cmGlobalXCodeGenerator.cxx 1.126 1.127

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 12 17:19:59 EDT 2006


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

Modified Files:
	cmGlobalXCodeGenerator.cxx 
Log Message:
ENH: undo bad changes


Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- cmGlobalXCodeGenerator.cxx	12 Oct 2006 14:57:36 -0000	1.126
+++ cmGlobalXCodeGenerator.cxx	12 Oct 2006 21:19:57 -0000	1.127
@@ -866,10 +866,6 @@
   std::string::size_type pos = flags.find(flag);
   if(pos != flags.npos)
     {
-    if(flags[pos + strlen(flag)] != ' ')
-      {
-      return flags;
-      }
     retFlag = flag;
     // remove the flag
     flags[pos]=' ';



More information about the Cmake-commits mailing list