ENH: make sure escaping is done for strings on the command line

This commit is contained in:
Bill Hoffman 2007-05-10 11:16:06 -04:00
parent 18b7cbd700
commit 8c39efe854
1 changed files with 1 additions and 0 deletions

View File

@ -433,6 +433,7 @@ cmGlobalXCodeGenerator::CreateXCodeSourceFile(cmLocalGenerator* lg,
lg->AppendFlags(flags, cmtarget.GetProperty("COMPILE_FLAGS"));
}
lg->AppendFlags(flags, sf->GetProperty("COMPILE_FLAGS"));
cmSystemTools::ReplaceString(flags, "\"", "\\\"");
cmXCodeObject* fileRef =
this->CreateObject(cmXCodeObject::PBXFileReference);