mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
IOS: Fixes Xcode group paths
The generated project paths were recognized by Xcode, but not third party tools, like AppCode.
This commit is contained in:
parent
dcad83e05b
commit
616ec2a924
@ -142,8 +142,9 @@ bool shouldSkipFileForTarget(const std::string &fileID, const std::string &targe
|
||||
}
|
||||
|
||||
XcodeProvider::Group::Group(XcodeProvider *objectParent, const std::string &groupName, const std::string &uniqueName, const std::string &path) : Object(objectParent, uniqueName, groupName, "PBXGroup", "", groupName) {
|
||||
bool path_is_absolute = (path.length() > 0 && path.at(0) == '/');
|
||||
addProperty("name", name, "", SettingsNoValue|SettingsQuoteVariable);
|
||||
addProperty("sourceTree", "<group>", "", SettingsNoValue|SettingsQuoteVariable);
|
||||
addProperty("sourceTree", path_is_absolute ? "<absolute>" : "<group>", "", SettingsNoValue|SettingsQuoteVariable);
|
||||
|
||||
if (path != "") {
|
||||
addProperty("path", path, "", SettingsNoValue|SettingsQuoteVariable);
|
||||
|
Loading…
Reference in New Issue
Block a user