包含目录和附加包含目录
来源:互联网 发布:mac gradle 路径 编辑:程序博客网 时间:2024/06/05 11:39
右键一个Project,可以发现有两个地方设置Include的相关目录:
1. VC++ Directories -> Include Directories
2. C/C++ -> General -> Additional Include Directories
不知道具体有什么区别,后在MSDN上得到答案:
“VC++ Directories -> Include Directories” : Directory settings displayed in the window are the directories that Visual Studio will search for include files referred to in your source code files. Corresponds to environment variable INCLUDE. More information : http://msdn.microsoft.com/en-us/library/t9az1d21(v=vs.80).aspx
“C/C++ -> General -> Additional Include Directories”: The directory to be added to the list of directories searched for include files. More information : http://msdn.microsoft.com/en-us/library/73f9s62w(v=vs.80).aspx
下面那个链接讲的比较清楚了:
The compiler searches for directories in the following order:
1.Directories containing the source file.
2.Directories specified with the /I option, in the order that CL encounters them.
3.Directories specified in the INCLUDE environment variable.
order2中的/I是由C/C++ -> General -> Additional Include Directories设置的。
order3中的INCLUDE是由VC++ Directories -> Include Directories设置的。
- 包含目录和附加包含目录
- 附加库目录与附加包含目录
- vs的附加包含目录
- VS中C++的包含目录、附加包含目录和库目录和附加库目录的区别
- VS中C++的包含目录、附加包含目录和库目录和附加库目录的区别
- 包含目录、库目录、附加包含目录、附加库目录、附加依赖项之详解
- 包含目录、库目录、附加包含目录、附加库目录、附加依赖项之详解
- C/C++附加包含目录和VC++目录包含目录区别? 连接器常规附加库目录和VC++目录库目录区别?
- VS中包含目录、附加包含目录、附加库目录及附加依赖项
- vs2010中 包含目录 和 常规-》附加包含目录 的区别
- VC++包含目录和c/c++ -》附加包含目录的区别
- visual studio配置中包含目录和附加包含目录的区别以及auto-linking
- 库目录和包含目录
- 项目、属性、C/C++、附加包含目录
- VS配置附加包含目录技巧
- 在VC项目中附加包含目录
- VS配置附加包含目录技巧
- VC2010项目中附加包含目录
- Linux架构
- DAS,NAS,SAN和ISCSI存储架构介绍
- hdoj2438Turn the corner【三分法】
- Effective C++总结(一)
- Python opencv 调用sift
- 包含目录和附加包含目录
- fill_parent、wrap_content和match_parent的区别
- iOS 代码实践总结
- 高性能mysql(一)优化数据类型
- 小强的HTML5移动开发之路(17)——HTML5内联SVG
- ios- 死锁
- Android图片旋转
- 进入实战,开发酷欧天气(一)
- office2010 word 关闭很慢