[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Re: OK, I give - how do I make indexing work?

Doug Schaefer wrote:
Yes, a document is desperately needed. Dealing with large legacy projects is definitely a challenge that we have. I have been able to get things to work with the Mozilla source code using the scanner discovery. It has around 16000 files.

It sounds like you are doing the right things with telling the CDT about the paths. Did you try per file scanner discovery. I seem to have better results with that. Also, the scanner discovery works by parsing the build output. If your makefile hides the commands (such as the Linux kernel 2.6 does) it won't work.

Hope this helps,
Doug

Well, after some wrangling, I've managed to get CTags indexing at least partially working. I'd still like to have full cross-referencing ability, but we'll take what we can get for now.


Depending on the make output to do this seems really naive to me, but even after modifying the build to echo its compile commands, I'm still not having much luck.

One thing that might be nice would some way to have an external script generate the data the indexer needs. This could be configured as a builder and it could deal with the complexities of the given build tree.

The current approach just doesn't cut it for real projects.