声明:
1、本翻译仅供个人学习使用,本人没有提供技术支持的义务,也不承担由此引发的任何后果。
2、请勿用于商业用途。
3、英文来自:http://www.keil.com/support/man/docs/c51/。
4、欢迎大家共同与我交流探讨(290207203@qq.com)。
INCDIR Compiler Directive
Abbreviation | None. |
Arguments | Path specifications for include files enclosed in parentheses. |
Default | None. |
µVision | Options — C51 — Include Paths. |
Description | The INCDIR directive specifies the location of the compiler include files. The compiler accepts a maximum of 512 path declarations. If more than one path declaration is specified the path names must be separated by semicolons. Include files enclosed within double quote characters ('"') are searched for in the following folders in order:
Include files enclosed within angle bracket characters ('<>') are searched for in the following folders in order:
|
Example | C51 SAMPLE.C INCDIR(C:\MYINC;C:\CHIP_DIR)
|
INCDIR 编译器伪指令
缩写 | 无。 |
参数 | 括号括起来的包含文件的路径说明。 |
缺省 | 无。 |
µVision | Options — C51 — Include Paths. |
描述 | INCDIR 伪指令指定编译器包含文件的路径。 编译器最多访问512 个路径声明。如果说明多个路径,路径名之间用分号隔开。 用双引号 ('"') 扩起来的包含文件按下面的顺序搜索:
用尖括号 ('<>') 扩起来的包含文件按下面的顺序搜索:
|
示例 | C51 SAMPLE.C INCDIR(C:\MYINC;C:\CHIP_DIR)
|