[cmake-commits] hoffman committed cmGlobalXCodeGenerator.cxx 1.147
1.148
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu May 10 11:16:08 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18542/Source
Modified Files:
cmGlobalXCodeGenerator.cxx
Log Message:
ENH: make sure escaping is done for strings on the command line
Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- cmGlobalXCodeGenerator.cxx 10 May 2007 14:05:36 -0000 1.147
+++ cmGlobalXCodeGenerator.cxx 10 May 2007 15:16:06 -0000 1.148
@@ -433,6 +433,7 @@
lg->AppendFlags(flags, cmtarget.GetProperty("COMPILE_FLAGS"));
}
lg->AppendFlags(flags, sf->GetProperty("COMPILE_FLAGS"));
+ cmSystemTools::ReplaceString(flags, "\"", "\\\"");
cmXCodeObject* fileRef =
this->CreateObject(cmXCodeObject::PBXFileReference);
More information about the Cmake-commits
mailing list