[TIP] XCode Header Search Path
September 26, 2009 Matteo Bertozzi | Filed Under Tips, XCode | 1 CommentFor many of you, this sounds like a stupid thing. But for those that just use gcc -I from command line, can be a pain find how to do it.
So, the problem is. How can I specify my Include path in XCode (gcc -I./mypath).
Tap on your project target, and click “Get Info“, tap on “Build” tab and search “Path” as showed in the figure above. Then click on the “Header Search Paths” options and add your favorite include paths for selected target.

Or just type -I, -F etc. in the search field. You can find most of gcc options this way.
Comment by 0xced — September 30, 2009 #