我已经使用复制的公共源文件和头文件在Windows 10下成功构建了许多带有eclipse(mars)的项目。我现在想重构这些项目以使用eclipse'链接文件夹'工具。
我已在目标项目中成功创建了公共项目和链接的源文件夹。
但是当我尝试编译项目时,编译器无法看到链接文件夹......
我很感激任何帮助,或者是Windows下的xtensa编译器不支持链接文件夹吗?
答案 0 :(得分:0)
IMHO "linked folders" is a slightly borked feature as it raises expectations it can't fulfill. The folders are only linked within the Eclipse context. That means that as soon as you leave the safe Eclipse haven those links are gone.
What you actually want/need are links on OS level that also work on the command line i.e. you need them on the file system. Such symlinks are native on Unix(-like) systems but there are ways to create them on Windows as well.