mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
Merge topic 'xcode-remove-reftype'
572797f9 Xcode: Write refType only for Xcode 1.5
This commit is contained in:
@@ -2805,7 +2805,10 @@ cmGlobalXCodeGenerator::CreateXCodeTarget(cmGeneratorTarget* gtgt,
|
||||
fullName = gtgt->GetFullName(defConfig.c_str());
|
||||
}
|
||||
fileRef->AddAttribute("path", this->CreateString(fullName.c_str()));
|
||||
fileRef->AddAttribute("refType", this->CreateString("0"));
|
||||
if(this->XcodeVersion == 15)
|
||||
{
|
||||
fileRef->AddAttribute("refType", this->CreateString("0"));
|
||||
}
|
||||
fileRef->AddAttribute("sourceTree",
|
||||
this->CreateString("BUILT_PRODUCTS_DIR"));
|
||||
fileRef->SetComment(gtgt->GetName().c_str());
|
||||
|
||||
Reference in New Issue
Block a user