Skip to content

Commit 407a7d6

Browse files
2bbbarturoc
authored andcommitted
add sort by filenames (#187)
1 parent 0eb9cf0 commit 407a7d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ofxProjectGenerator/src/projects/xcodeProject.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ void xcodeProject::addAddon(ofAddon & addon){
12431243
ofLogVerbose() << "adding addon ldflags: " << addon.ldflags[i];
12441244
addLDFLAG(addon.ldflags[i]);
12451245
}
1246+
std::sort(addon.srcFiles.begin(), addon.srcFiles.end(), std::less<std::string>());
12461247
for(int i=0;i<(int)addon.srcFiles.size(); i++){
12471248
ofLogVerbose() << "adding addon srcFiles: " << addon.srcFiles[i];
12481249
addSrc(addon.srcFiles[i],addon.filesToFolders[addon.srcFiles[i]]);

0 commit comments

Comments
 (0)