且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置包括以x code项目路径

更新时间:2023-02-21 23:03:19

想通了。

所有你需要做的就是-I标志添加到您的构建下的其他C标志

All you have to do is add the -I flag to your build setting under "Other C Flags"

因此​​,在您的目标构建设置搜索其他C标志,并添加 -I /路径到包括/

So in your target's build setting search for "Other C Flags" and add -I/path-to-include/

下面是截图:
如何设置包括以x code项目路径

Here's a screenshot: