[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-core-dev] cdt parser
|
Kashif,
take a look at NewMakeProjectWizard.doRun(..).
Vmir
"Shahzad, Kashif"
<Kashif_Shahzad@xxxxxxxxxx>
Sent by: cdt-core-dev-bounces@xxxxxxxxxxx
05/10/2005 12:02 PM
Please respond to
"CDT Core developers list." |
|
To
| "CDT Core developers
list." <cdt-core-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [cdt-core-dev] cdt parser |
|
Thanks Lars,
Do I need to add some other natures to hook the Project ->Properties->C/C++
Include Paths & Symbols option?? Right now I am just adding C\CC project
nature in the project description and this option is not visible in the
properties page.
Thanks,
Kashif
From: cdt-core-dev-bounces@xxxxxxxxxxx
[mailto:cdt-core-dev-bounces@xxxxxxxxxxx] On Behalf Of Lars Heineken
Sent: Tuesday, May 10, 2005 4:42 PM
To: CDT Core developers list.
Subject: RE: [cdt-core-dev] cdt parser
Hi Kashif,
The include paths are specified
inside the file ".cdtproject" that can be found at the root of
every project folder.
If you play around with a sample
C/C++ project you can see how those entries are created.
Regards,
Lars Heineken.
PS: This is a part of the .cdtproject
file that specifies the directories to be searched for header files by
the indexer:
<?xml version="1.0"
encoding="UTF-8"?>
<?eclipse-cdt version="2.0"?>
.. snip ..
<data>
<item id="org.eclipse.cdt.core.pathentry">
<pathentry include="T:/include/sun4"
kind="inc" path=""/>
<pathentry include="T:/include/toolbox/rel_3.3"
kind="inc" path=""/>
<pathentry base-path="vienna"
include="inc" kind="inc" path=""/>
<pathentry kind="src"
path="src"/>
<pathentry kind="out"
path="bin"/>
</item>
<item id="cdt_indexer">
<indexEnabled indexValue="true"/>
<indexerProblemsEnabled indexProblemsValue="7"/>
</item>
.. snip ..
From: Shahzad, Kashif [mailto:Kashif_Shahzad@xxxxxxxxxx]
Sent: Dienstag, 10. Mai 2005 11:43
To: CDT Core developers list.
Subject: RE: [cdt-core-dev] cdt parser
Hi Lars,
What if we don’t provide these
properties in our defined project (The project which is not created through
the CDT project wizard)?? So what kind of configurations I need to set
at the project level to provide these include paths & directories to
get resolved by the indexer??
Thanks,
Kashif
From: cdt-core-dev-bounces@xxxxxxxxxxx
[mailto:cdt-core-dev-bounces@xxxxxxxxxxx] On Behalf Of Lars Heineken
Sent: Tuesday, May 10, 2005 11:35 AM
To: CDT Core developers list.
Subject: RE: [cdt-core-dev] cdt parser
Hi Kashif,
For the Indexer to find all header
files, they need to be in directories defined through the Projetc->Properties->C/C++
Include Paths & Symbols.
If no directories are defined
there, the indexer won't be able to resolve _any_ header files.
Regards.
Lars Heineken.
From: Shahzad, Kashif [mailto:Kashif_Shahzad@xxxxxxxxxx]
Sent: Dienstag, 10. Mai 2005 07:46
To: cdt-core-dev@xxxxxxxxxxx
Subject: [cdt-core-dev] cdt parser
Hi,
We want to make use of CDT editor for that
matter CDT Core and CDT UI plug-in will be required. I will be thankful
if someone can let me know in advance what kind of issues we can face in
this regard.
Basically the problem I am facing here is
CDT parser could not resolve the include files and just report preprocessor
could not find the include file in the path even though the file exist
in the project. What I can think is there might be some mechanism required
to attach the project entries or something else?? Here the main thing
is project is created through our own project creation wizards and just
C\CPP project natures defined by CDT has been added to get it recognized
by the CDT core indexer.
Thanks in advance,
Kashif
***************************************
Kashif Shahzad
Software Engineer
Accelerated Technology, ESD of Mentor Graphics
email:kashif_shahzad@xxxxxxxxxx
***************************************
_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-core-dev