[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-core-dev] Re: CDT Add Project Path newbie questions
|
>
> (freebsd 5.2.1 with jdk1.4 for linux and eclipse & CDT latest (3.0. and 2.0.2
> or thereabouts)
>
> All related to Standard Makefile C projects.
>
> When I go to add subfolders of a C Project to a Project (Properties->Project
> Paths), the Add Source popup window is devoid of content. Any idea on what to
> check?
>
> I have a subfolder whose makefile adds @ and machine symlinks back into the
> kernel sources for resolving kernel module includes. I'm having a devil of a
> time getting the Indexer to ignore these symlinked directories. Even if I
> delete them as part of the make all target, the Indexer sees them come into
> existence and starts indexing them.
>
> If I could get the Add Project Path stuff to work, I could add an Exclusion
> Filter to not traverse these symlinks.
>
Yes, you could set exclusion for certain folders, say:
project/src/kernel
"src" is the source root and contains
"kernel" as the exclusion pattern.
One of the problem is that you probably have to shutdown eclispe(I think
close/reopening) the project should also work, for the change to take effect.
There is a PR for this agains the indexer. If this does not work
please make a new PR so we can investigate.
The other possiblity, if the @ links or top level under the folder you
could choose the source folders for the project and the indexer will not
look folder that are not source folder or not in the source folder heirarchy.
project/
src1/ --> set as source folder in the property page
src2/ --> set as source folder in the property page
kernel1/ --> normal folders i.e. non C-Folder
kernel2/ --> normal folder i.e. non C-Folder
Again if it is not working lets make a PR so we can investigate.
> Should I just resign myself to having to make a new project for each and every
> level of the source hierarchy?
>
Not necessary, this is one reason we introduce the source folder hierarchy.
--
alain