Eclipse Helios CDT:忽略构建目录

时间:2023-01-13 11:22:45

We use Eclipse Helios CDT for development. We use cmake as build system, build dirs are typically called build-* inside the project directory.

我们使用Eclipse Helios CDT进行开发。我们使用cmake作为构建系统,在项目目录中构建dirs通常称为build-*。

How do I get the indexer and the refactoring tool to ignore the build directories?

如何让索引器和重构工具忽略构建目录?

1 个解决方案

#1


14  

Exclude these build dirs from project tree by adding Resource filters. Add Exclude All resource filter type to root folder of your project. You can also use regular expressions if needed.

通过添加资源过滤器从项目树中排除这些构建dirs。将所有资源筛选器类型添加到项目的根文件夹中。如果需要,还可以使用正则表达式。

#1


14  

Exclude these build dirs from project tree by adding Resource filters. Add Exclude All resource filter type to root folder of your project. You can also use regular expressions if needed.

通过添加资源过滤器从项目树中排除这些构建dirs。将所有资源筛选器类型添加到项目的根文件夹中。如果需要,还可以使用正则表达式。