Skip to content

Commit 63934b6

Browse files
authored
CFLAGS array fix (#441)
#changelog #xcode
1 parent 3e99850 commit 63934b6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

commandLine/src/projects/xcodeProject.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,9 +679,10 @@ void xcodeProject::addLDFLAG(string ldflag, LibType libType){
679679
}
680680

681681
void xcodeProject::addCFLAG(string cflag, LibType libType){
682+
//alert("xcodeProject::addCFLAG " + cflag);
683+
//commands.emplace_back("Add :objects:"+c+":buildSettings:OTHER_CFLAGS array");
682684
for (auto & c : buildConfigs) {
683685
// FIXME: add array here if it doesnt exist
684-
commands.emplace_back("Add :objects:"+c+":buildSettings:OTHER_CFLAGS array");
685686
commands.emplace_back("Add :objects:"+c+":buildSettings:OTHER_CFLAGS: string " + cflag);
686687
}
687688
}

0 commit comments

Comments
 (0)