Merge branch 'xcode-storyboard-file-type-2.8.12' into release
This commit is contained in:
commit
67fd61b061
|
@ -877,8 +877,10 @@ cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string sourcecode = GetSourcecodeValueFromFileExtension(ext, lang);
|
std::string sourcecode = GetSourcecodeValueFromFileExtension(ext, lang);
|
||||||
|
const char* attribute = (sourcecode == "file.storyboard") ?
|
||||||
fileRef->AddAttribute("explicitFileType",
|
"lastKnownFileType" :
|
||||||
|
"explicitFileType";
|
||||||
|
fileRef->AddAttribute(attribute,
|
||||||
this->CreateString(sourcecode.c_str()));
|
this->CreateString(sourcecode.c_str()));
|
||||||
|
|
||||||
// Store the file path relative to the top of the source tree.
|
// Store the file path relative to the top of the source tree.
|
||||||
|
|
Loading…
Reference in New Issue