prevent auto-adding include directories (-I)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lpcentric on Wed Oct 19 17:51:38 MST 2011
The eclipse behaviour is to scan all projects in the current workspace for header files that might be included in any project, and adds any directory containing header files to the include path of every project in the workspace where they might fit.

This may be convenient in some cases, but in others completely messes things up. I was expecting projects to be independent from each other, or at most reference another library project (and that should only happen after ticking the corresponding box in the project references.

How can I prevent projects from having their internals implicitly and automatically added as include path in other projects? That's not a feature, that's dangerous.