Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build current project only in Eclipse CDT on "Build project"?

Tags:

eclipse-cdt

I am working with Eclipse CDT and I want to build the current project only, not any referenced project. Is this somehow possible?

The idea behind this is, that I want to distinguish between "Build Project" and "Build all projects" (in which case, referenced libraries should be built as well).

Thanks in advance, Martin

like image 653
Martin C. Avatar asked Apr 15 '10 09:04

Martin C.


1 Answers

I use another workaround; I changed the default key binding for "Build All" to Alt+Ctrl+B, and changed the binding to "Build Project" to "Ctrl+B".

If you didn't want to mess with the defaults you could add the custom binding (e.g., Alt+Ctrl+B directly to "Build Project".

To change keyboard shortcuts go to &Window, &Preferences, and search for "keys".

like image 155
Leo Avatar answered Sep 17 '22 18:09

Leo