ENH: make sure escaping is done for strings on the command line
This commit is contained in:
parent
18b7cbd700
commit
8c39efe854
|
@ -433,6 +433,7 @@ cmGlobalXCodeGenerator::CreateXCodeSourceFile(cmLocalGenerator* lg,
|
||||||
lg->AppendFlags(flags, cmtarget.GetProperty("COMPILE_FLAGS"));
|
lg->AppendFlags(flags, cmtarget.GetProperty("COMPILE_FLAGS"));
|
||||||
}
|
}
|
||||||
lg->AppendFlags(flags, sf->GetProperty("COMPILE_FLAGS"));
|
lg->AppendFlags(flags, sf->GetProperty("COMPILE_FLAGS"));
|
||||||
|
cmSystemTools::ReplaceString(flags, "\"", "\\\"");
|
||||||
cmXCodeObject* fileRef =
|
cmXCodeObject* fileRef =
|
||||||
this->CreateObject(cmXCodeObject::PBXFileReference);
|
this->CreateObject(cmXCodeObject::PBXFileReference);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue