Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default build settings Eclipse CDT

Is there any way to change build settings which are used when I create new project in Eclipse CDT? Some of toolchain setting I have to change every time I creating new project.

like image 417
Deluxe Avatar asked Aug 13 '10 18:08

Deluxe


People also ask

What is CDT in Eclipse?

Eclipse CDT (C/C++ Development Tooling) The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform.

What is CDT managed build system?

The managed build system generates the buildfiles and automatically obtains the build information based upon the following info: 1. Tool-chain/tool/builder definitions provided by an ISV used for the given project 2. User-modified/specified settings 3. The set of project resources.

How do I know if Eclipse CDT is installed?

Click 'Help > About Eclipse' and then click the 'Installation Details' button at the bottom of the dialog. The resulting dialog shows all the features you have installed on the 'Installed Software' tab.


2 Answers

AFAIK there is now way to do this in a nice way. A not so nice way would be to create an empty project with all the needed settings and to make a copy of this whenever a new project is needed.

like image 64
robsch Avatar answered Oct 16 '22 09:10

robsch


The build settings are stored in the .cproject file and the .settings directory at the top of the project. You can copy and paste them from one project to another then change all the project name wherever it shows up in the .cproject file.

like image 38
Lee Ballard Avatar answered Oct 16 '22 07:10

Lee Ballard