“标题搜索路径"对比“用户标题搜索路径"在 Xcode 中? [英] "Header Search Paths" vs. "User Header Search Paths" in Xcode?

查看:26
本文介绍了“标题搜索路径"对比“用户标题搜索路径"在 Xcode 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么区别?你什么时候用?

What's the difference? When would you use either?

推荐答案

使用 User Header Search Paths 查找您要搜索的路径 #include "..."并为 #include <...> 使用标题搜索路径.当然,如果您选中始终搜索用户路径的选项,则#include <...> 也适用于用户路径.

Use the User Header Search Paths for paths you want searched for #include "..." and use the Header Search Paths for #include <...>. Of course, if you check the option to Always Search User Paths, then #include <...> will also work for the user paths.

这篇关于“标题搜索路径"对比“用户标题搜索路径"在 Xcode 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆