Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Include [paths


Thanks for the info,  I have recently migrated to CDT 4.0, In the previous versions i use to add the include paths to the .cdtproject file when the
project was created and the indexer picked them up.


<item id="org.eclipse.cdt.core.pathentry">
<pathentry kind="inc" path="" include="new include path" system="true" exported="true"/>
<pathentry kind="inc" path="" include="new include path" system="true"/>
<pathentry kind="inc" path="" include="new include path" system="true"/>
<pathentry kind="inc" path="" include="new include path" system="true"/>
<pathentry kind="src" path=""/>
<pathentry kind="out" path=""/>

Since in CDT 4.0 there is a .cproject file instead of a .cdtproject i issumed that if i add the include paths to .cproject file it would work but it
does not. Are there any changes made to the xml tags in the new .cproject configuration file.


On 7/9/07, Andrew.Ferguson@xxxxxxxxxxx < Andrew.Ferguson@xxxxxxxxxxx> wrote:


 pre-built indexes are really meant for ISVs. You can set one up with the org.eclipse.cdt.CIndex extension point (see its description for details).

Markus added files to index  up-front (regardless of if they have been included), which you can set workspace-wide via:
        Workspace -> Preferences... -> C/C++ -> Indexer -> Files to index up-front
that sounds like it might be more suitable?

If neither cover your situation, it'd be great if you could put in a enhancement request with more details.


cdt-dev-bounces@xxxxxxxxxxx wrote on 09/07/2007 15:44:36:

> I guess that's not entirely true. The files that you include in
> those paths are indexed.  I don't believe we index the entire
> /usr/include, that would take quite a while.

> There is the pre-indexing feature that you may find useful. I'm not
> sure how to set one up yet, though.

> Doug Schaefer, QNX Software Systems
> Eclipse CDT Project Lead,

> From: cdt-dev-bounces@xxxxxxxxxxx [mailto: cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Sheldon Dsouza
> Sent: Monday, July 09, 2007 7:34 AM
> To: CDT General developers list.
> Subject: [cdt-dev] Include [paths

> Hi,
>          When we create a C/C++ application in CDT on the Linux
> platform, the following paths like /usr/local/include etc get
> automatically indexed. How do i go about indexing new include paths
> automatically to my applications whenever i create a project for my
> application.
> Regards,
> Sheldon _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

********************************************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************

cdt-dev mailing list

Back to the top