can anybody tell me how to specify user defined flags in XCode as we specify in Make file through "CFLAGS" under linux?
Any pointer/Ref?
thanx in advance
You mean compiler flags? Choose "Xcode Help" from the Help menu in Xcode, then type "Compiler Flags" into the search box and hit Return.
There are a huge number of compiler and linker flags you can set, and the hard part is figuring out whether to set them per-file or per-build, and which build settings (Development or Deployment) to add the flags to. Best to read the blurb at the Help pages so you understand where to set the flags.
Comments
Originally posted by Stuart
Hi,
can anybody tell me how to specify user defined flags in XCode as we specify in Make file through "CFLAGS" under linux?
Any pointer/Ref?
thanx in advance
You mean compiler flags? Choose "Xcode Help" from the Help menu in Xcode, then type "Compiler Flags" into the search box and hit Return.
There are a huge number of compiler and linker flags you can set, and the hard part is figuring out whether to set them per-file or per-build, and which build settings (Development or Deployment) to add the flags to. Best to read the blurb at the Help pages so you understand where to set the flags.