PDA

View Full Version : How to set preprocessor Definitions




santoshgornal
Jan 16, 2009, 06:34 AM
hi all

preprocessor definitions,

i am trying to set preprocessors, i want to use #ifdef how can i set this
in xcode .
for example
in vs6.0 i use to set macro in "project settings->preprocesor Definition"

.

thanks
santosh



firewood
Jan 16, 2009, 12:30 PM
your project
App Targets
your target
Target Info
Build settings
GCC Language
Other C Flags
-DMY_FLAG


.