>Very true. If I could
ask a build configuration for the given ILanguage for a given ITranslationUnit,
then I’m set.
I agree and that’s
what I’m working on currently in the New Project Model design.
Mikhail
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Wednesday, May 31, 2006 7:08
PM
To: CDT
General developers list.
Subject: RE: [cdt-dev] some
questions about CDT c/cpp parsing
Very true. If I could ask
a build configuration for the given ILanguage for a given ITranslationUnit,
then I’m set. Right now, you register the ILanguage against a content
type in the extension point and ITranslationUnit looks things up there. I’m
not sure how things evolve from one to the other to ensure all languages keep
working, though. Something to think about.
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Treggiari,
Leo
Sent: Wednesday, May 31, 2006
10:54 AM
To: CDT
General developers list.
Subject: RE: [cdt-dev] some
questions about CDT c/cpp parsing
Hi Doug,
> One problem would be
knowing which parser to use for a given file since we are currently triggering
of ContentType which would need to be different depending on what compiler you
were using.
This is one of the places where
I think the CDT-wide concept of the current build configuration and associated
tool-chain can help. The C/CPP tool in the tool-chain can specify the
language variant that it understands.
Leo