Search code examples
eclipse-cdt

Understanding the Eclipse CDT projects


I want to commit my CDT project to SVN. I am a newbie regarding CDT, and I'd like to know the files describing the project.

The concerned files seem to be :

.project .settings (directory) .cproject .csettings (directory)

What are the purposes of .project and .settings ?

.project just include references to XML files stored in the .csettings directory. Some of my co-workers on other projects don't have this .csettings directory : everything is in the .cproject file. Are there some project properties which could make Eclipse delegates all the CDT settings in XLM files in the .csettings directory ?

And what about .csettings ?

Extra question : what is the .directory ?


Solution

  • .project is where Eclipse starts whenever it opens up the project: it tells the workbench what plugins are needed.

    .cproject contains the settings specific to the CDT: your project's choice of build configurations, toolchains, individual tools and so on.

    .settings can be used by individual plug-ins to store their own project-level preferences.

    I've never come across .csettings...