With Eclipse: How to add include paths and libraries for all your C/C++ project

Walidix picture Walidix · Apr 24, 2010 · Viewed 51.6k times · Source

Is it possible to add include paths and libraries to all C/C++ projects? In others words: How can I make them global or copy one C/C++ project build setting to another one?

Answer

parvus picture parvus · Sep 19, 2011

For Eclipse Indigo: There is no possibility to define globally include paths and libraries. But you can export and import them from one project to another.

Go to Project > Properties > C/C++ General > Paths and Symbols Then click Export Settings... to save the include paths and/or symbol definitions to a file. In your other project, you can then use Import Settings...