Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Option valueType includeFiles or how can I includefiles for the indexer?

You can choose to index 
(a) all sources + headers included by these sources
(b) all sources + all headers (Indexer Preference: index all files)

Independent of this choice it is necessary to configure the include
properly. Otherwise the indexer will produce poor results. Obviously as 
you wrote the configuration is also necessary to determine the included

The indexer itself does support preincluding files (gcc option -include,
however I don't know how the managed build system computes the value for
options as passed to the indexer, but there seems to be an issue. I'll
the bug to the correct inbox.


> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Wieant Nielander
> Sent: Friday, November 14, 2008 10:43 AM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] Option valueType includeFiles or how 
> can I includefiles for the indexer?
> Importance: Low
> > What I need it for:
> >
> > As far as I know the indexer will only index headers, when they are 
> > included in some compilation unit.
> > But I want the indexer to be aware of the content of a 
> prefix header 
> > (one that is automatically included/prefixed to all source files by 
> > the compiler) so how can I include specific files for the 
> indexer when 
> > they are not included in some source file?
> Helmut,
> I'm afraid you can't :-(
> See:
> -- Wieant
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top