For 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.
ReplyDelete