I have a large existing C ++ code base. As a rule, users of the codebase edit the source using gvim, but we would like to start using the excellent IDE features in Eclipse. The codebase has an extensive directory hierarchy, but the source files use include directives with no paths due to some voodoo that we use in our build process. When I link the source to my project in Eclipse, the indexer complains that he cannot find the header files (because we do not specify the paths in our included ones.) If I manually add directories from the workspace to the inclusion path, everything works wonderfully, but, obviously adding hundreds of directories manually is not possible. Would there be an easy way to tell Eclipse to search anywhere in the project for included files without adding them one by one? If not, can anyone suggest a good starting place, for example, which classes to extend, for writing a plugin, just to scan the project when creating / modifying and add all directories to the include path programmatically?
c ++ eclipse eclipse-cdt
Jonesinator
source share