Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Managing additional toolchain state

> 
> I don't know about the .cdtproject file.  It may have a mechanism for
> storing arbitrary name/value pairs, but I'm not sure.  Maybe, someone
> else can answer.
> 

The ".cdtproject" is a file that is created when you create a C/C++ Project
it contains information that are relevant to CDT components.

The rationale: CDT components(Indexer, Builder, Parser, ..)
will/may need a mechanism to save relevant info and this
information needs to be sharable (i.e. shared with the project).
Instead of littering the project with dotfiles, all components
will use the .cdtproject file to save there info.
The .cdtproject provides features:
 - it can save an extension point in the file
   i.e. extension point interface must implement ICExtension
 - but it can  also save raw data.
 - it provide serialization
 - notification of changes
 - recreation of the file if it was deleted

In any case the managed builder did not use this but rather create its own file
to save its info(.cdtbuild), for whatever reason.




Back to the top