How to set preprocessor Definitions

Discussion in 'iPhone/iPad Programming' started by santoshgornal, Jan 16, 2009.

  1. macrumors newbie

    Joined:
    May 22, 2008
    #1
    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
     
  2. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    your project
    App Targets
    your target
    Target Info
    Build settings
    GCC Language
    Other C Flags
    -DMY_FLAG


    .
     

Share This Page