开发者

Passing Flags in XCODE

I have confi开发者_开发技巧gure wxWidgets in my MAC OS. In terminal my program in working fine. Here is the following command which I use to run.

gcc -o main main.cpp -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macud-2.8

How can I configure xcode so that it pass the Header & libs to GCC.


In XCode, bring up the Inspector for the target, look at the "Build" tab, search for "header" and "library". You'll find the relevant configuration options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜