mirror of
https://github.com/reactos/CMake.git
synced 2025-02-09 05:16:07 +00:00
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…
x
Reference in New Issue
Block a user