BUG: fix for bug 7316
This commit is contained in:
parent
89a39b48c3
commit
e5ba0296c2
@ -452,7 +452,6 @@ 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, "\"", "\\\"");
|
|
||||||
|
|
||||||
// Add per-source definitions.
|
// Add per-source definitions.
|
||||||
this->AppendDefines(flags, sf->GetProperty("COMPILE_DEFINITIONS"), true);
|
this->AppendDefines(flags, sf->GetProperty("COMPILE_DEFINITIONS"), true);
|
||||||
@ -1297,9 +1296,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
|||||||
this->CurrentLocalGenerator->
|
this->CurrentLocalGenerator->
|
||||||
AppendFlags(defFlags,
|
AppendFlags(defFlags,
|
||||||
this->CurrentMakefile->GetDefineFlags());
|
this->CurrentMakefile->GetDefineFlags());
|
||||||
cmSystemTools::ReplaceString(defFlags, "\"", "\\\"");
|
|
||||||
cmSystemTools::ReplaceString(flags, "\"", "\\\"");
|
|
||||||
cmSystemTools::ReplaceString(cflags, "\"", "\\\"");
|
|
||||||
|
|
||||||
// Add preprocessor definitions for this target and configuration.
|
// Add preprocessor definitions for this target and configuration.
|
||||||
std::string ppDefs;
|
std::string ppDefs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user