Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Handling of PCH / forced includes by indexer



On Mon, Feb 13, 2012 at 2:31 PM, Dmitry Nezhevenko <dion@xxxxxxxxx> wrote:
Hi,

I've tried to switch from latest CDT release to current development build
to see how it works for me.

Unfortunately I've observed, that now it's impossible to specify, which
files to index "upfront".

I'm using CDT with huge source tree, and tons of code assumes that some
"global" headers are always included (for example -include switch of GCC).
For now it looks like it's impossible to handle this case in CDT.

Doing this with additional header files was wrong to begin with. The supported way of letting CDT parser know about includes and defines is through Paths and Symbols preference settings. See also Discovery Options preference page.

Any ideas how to handle this now?

--
WBR, Dmitry
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

-sergey 


Back to the top