Skip to content

Commit

Permalink
CREATE_PROJECT: Escape \" in "<group>" for PBXFileReferences during w…
Browse files Browse the repository at this point in the history
…riteFileListToProject

This has to be applied explicitly, as modifying ADD_FILE_REFERENCE to use SettingsQuoteVariable would be wrong (i.e. SDKROOT should not become "SDKROOT").
  • Loading branch information
somaen committed Apr 9, 2015
1 parent e69696a commit 8f66bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/create_project/xcode.cpp
Expand Up @@ -191,7 +191,7 @@ void XCodeProvider::writeFileListToProject(const FileNode &dir, std::ofstream &p
const FileNode *node = *i;

std::string id = "FileReference_" + node->name;
FileProperty property = FileProperty(node->name, node->name, node->name, "<group>");
FileProperty property = FileProperty(node->name, node->name, node->name, "\"<group>\"");

ADD_SETTING_ORDER_NOVALUE(children, getHash(node->name), node->name, order++);
ADD_BUILD_FILE(id, node->name, node->name + " in Sources");
Expand Down

0 comments on commit 8f66bc1

Please sign in to comment.