Skip to content

Commit

Permalink
CFLAGS array fix (#441)
Browse files Browse the repository at this point in the history
#changelog #xcode
  • Loading branch information
dimitre authored Nov 16, 2023
1 parent 3e99850 commit 63934b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commandLine/src/projects/xcodeProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,10 @@ void xcodeProject::addLDFLAG(string ldflag, LibType libType){
}

void xcodeProject::addCFLAG(string cflag, LibType libType){
//alert("xcodeProject::addCFLAG " + cflag);
//commands.emplace_back("Add :objects:"+c+":buildSettings:OTHER_CFLAGS array");
for (auto & c : buildConfigs) {
// FIXME: add array here if it doesnt exist
commands.emplace_back("Add :objects:"+c+":buildSettings:OTHER_CFLAGS array");
commands.emplace_back("Add :objects:"+c+":buildSettings:OTHER_CFLAGS: string " + cflag);
}
}
Expand Down

0 comments on commit 63934b6

Please sign in to comment.