ENH: Simplify. Instead of doing ../MacOS just copy to current directory
This commit is contained in:
parent
7bc8564c73
commit
5076590a02
|
@ -704,7 +704,10 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
|
||||||
copyFilesBuildPhase->AddAttribute("runOnlyForDeploymentPostprocessing",
|
copyFilesBuildPhase->AddAttribute("runOnlyForDeploymentPostprocessing",
|
||||||
this->CreateString("0"));
|
this->CreateString("0"));
|
||||||
cmOStringStream ostr;
|
cmOStringStream ostr;
|
||||||
ostr << "../" << mit->first.c_str();
|
if ( mit->first != "MacOS" )
|
||||||
|
{
|
||||||
|
ostr << "../" << mit->first.c_str();
|
||||||
|
}
|
||||||
copyFilesBuildPhase->AddAttribute("dstPath",
|
copyFilesBuildPhase->AddAttribute("dstPath",
|
||||||
this->CreateString(ostr.str().c_str()));
|
this->CreateString(ostr.str().c_str()));
|
||||||
buildFiles = this->CreateObject(cmXCodeObject::OBJECT_LIST);
|
buildFiles = this->CreateObject(cmXCodeObject::OBJECT_LIST);
|
||||||
|
|
Loading…
Reference in New Issue