This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 如何包含虚拟文件夹的路径

Guru**** 2348500 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1249288/how-to-include-paths-of-virtual-folders

您好!

我正在使用 CCS - Project Explorer。

我创建一个虚拟文件夹"Virtual_Folder" 、然后将  c:/Real_Folder/real_file.h 复制   到 Virtual_Folder 中、因此两者都具有 real_file.h

我将通过项目属性添加包含路径${PROJECT_LOC}/虚拟文件夹。

我注意到 其中#include "real_file.h"的 files.c 无法看到它。

如果我正在使用  #include "c:/Real_Folder/Real_file.h"  ,那么他们会看到它!

有什么区别 ?如何包括本地虚拟文件夹路径而不是实例文件夹路径?

谢谢。

Eli