Skip to content

Commit

Permalink
IOS : Rename a function
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Bénony committed Jan 6, 2016
1 parent a9a61cd commit ef2903c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions devtools/create_project/xcode.cpp
Expand Up @@ -717,7 +717,7 @@ void XcodeProvider::setupSourcesBuildPhase() {
ADD_SETTING_ORDER_NOVALUE(files, getHash((*file)->id), comment, order++);
}

addAdditionalSources(targetName, files, order);
setupAdditionalSources(targetName, files, order);

source->properties["files"] = files;

Expand Down Expand Up @@ -972,7 +972,7 @@ void XcodeProvider::setupImageAssetCatalog(const BuildSetup &setup) {
addBuildFile(absoluteCatalogPath, filename, getHash(id), "Image Asset Catalog");
}

void XcodeProvider::addAdditionalSources(std::string targetName, Property &files, int &order) {
void XcodeProvider::setupAdditionalSources(std::string targetName, Property &files, int &order) {
if (targetIsIOS(targetName)) {
const std::string absoluteCatalogPath = _projectRoot + "/dists/iphone/Images.xcassets";
ADD_SETTING_ORDER_NOVALUE(files, getHash(absoluteCatalogPath), "Image Asset Catalog", order++);
Expand Down
2 changes: 1 addition & 1 deletion devtools/create_project/xcode.h
Expand Up @@ -330,7 +330,7 @@ class XcodeProvider : public ProjectProvider {
void setupSourcesBuildPhase();
void setupBuildConfiguration(const BuildSetup &setup);
void setupImageAssetCatalog(const BuildSetup &setup);
void addAdditionalSources(std::string targetName, Property &files, int &order);
void setupAdditionalSources(std::string targetName, Property &files, int &order);

// Misc
void setupDefines(const BuildSetup &setup); // Setup the list of defines to be used on build configurations
Expand Down

0 comments on commit ef2903c

Please sign in to comment.