개발관련/Mac

xcode preprocessor setting

자두맛쭝이 2011. 12. 19. 11:45
 open project Info

 project -> Edit Project Settings -> Build

 or

 Mouse righit button click from project then click Get Info -> Build 

 find GCC 4.2 - Language ( your version may not be right )

 set Other C Flags


// e.g if you want use _MY_DEBUG_
#ifdef _MY_DEBUG_
    _degug();
#endif // _MY_DEBUG_
-D_MY_DEBUG_ = 1

don't care about Other C++ Flags..