1

I'm working on a non-arc workspace,for specific files I added "-fobjc-arc" flag BuildPhases>CompileSources>. When I try to automate the build I'm unable to add the compiler flags. I have multiple targets, so i should pick the required target and add compiler flags for files in the target. Can it be handled while generating the project with CMAKE?
Any help here would be appreciated.

devdev
  • 67
  • 1
  • 8
  • I'm using "xcodebuild", Initially cmake generates the xcode project with no flags, here before building the project i should add the flags. When i said I have a added flags in build phases, then i was building the whole project manually – devdev Jan 20 '15 at 13:36
  • How about this http://stackoverflow.com/a/13639476/629118 ? – Kazuki Sakamoto Jan 23 '15 at 19:58
  • thank you for the link. Will add the mentioned commands and check accordingly. – devdev Jan 24 '15 at 10:14

0 Answers0