Deluxe
Deluxe

Reputation: 99

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.

Upvotes: 6

Views: 1170

Answers (3)

Lee Ballard
Lee Ballard

Reputation: 1119

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.

Upvotes: 1

TomG
TomG

Reputation: 2539

I found this question just now when I asked google the same thing :) The way to do it:

Window --> Preferences --> C/C++ (For example) --> New CDT Project Wizard --> select the desired toolchain and make it preferred or not preferred.

Hope this is still relevant.

Upvotes: 0

robsch
robsch

Reputation: 9728

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.

Upvotes: 3

Related Questions