10

I'd like to be able to change compiler flags for a whole set of files.

When accessing per-file compiler flags from the "Build Phases" area you can change flags one at a time, however say I'd like to change the flags for every file in a group (e.g., the DropBox or Facebook SDK).

Anyone know how to do this in Xcode 4.0.x?

Ben Lachman
  • 3,083
  • 1
  • 28
  • 44

1 Answers1

15

Fortunately, YES :-)

In Targets->Build Phaes->Compile Sources, mark all the files you like to set a compiler flag for, press RETURN (hit the enter key!), put the flag in the upcoming window and you're done!

Frank Jüstel
  • 166
  • 2
  • 5