| 问答编号# |
30180
|
| 专题 |
EDK-SDK |
| 最后更新日期 |
2009-04-28 00:00:00.0 |
| 记录状态 |
Active |
| 器件 | - |
| 设计工具 | - |
| IP | - |
| 开发板与电缆 | - |
疑问描述
Keywords: absolute, path, variable
The SDK tools will not allow a relative path to be specified when adding a new file to a project. Is it possible to use relative path naming instead of absolute path naming for the application source code?
解决方案
SDK does not allow a relative path to be specified directly. Instead, it uses an absolute path naming convention for source code files. However, it is possible to add a Path Variable to your SDK project that can be used as the base for relative path naming. For more information on the Path Variable, search the SDK Help documentation using "Path Variable" in the search dialog.
Using the Path Variable allows you to update only the Path Variable to point to all source files, instead of having to change the path for every single source file used in the design.