Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse: c/c++ build / builder settings page is disabled (grey), can't change settings

Tags:

eclipse

I have an empty C++ project in Eclipse, and I want to use a custom makefile. When I go to project properties and click "C/C++ Build", the "Builder Settings" tab is disabled, and I cannot customize the build command.

How can I apply my own makefile?

like image 781
Alexander Taylor Avatar asked Feb 11 '12 18:02

Alexander Taylor


2 Answers

you can only customize the builder settings if you choose an empty makefile project.

delete the project, keeping the contents on the disk. then click file -> new -> c++ project. instead of choosing "empty project" under "executable", choose "empty project" under "makefile project".

like image 175
Alexander Taylor Avatar answered Nov 02 '22 06:11

Alexander Taylor


The problem is actual on windows and appears when you using toolchains. I found small hack to correct it.

like image 40
Torsten Avatar answered Nov 02 '22 06:11

Torsten