Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » Adding per path include directives
Adding per path include directives [message #774372] Tue, 03 January 2012 14:43
Steven R. Brandt is currently offline Steven R. Brandt
Messages: 5
Registered: May 2010
Junior Member
If I want to tell eclipse to use a certain include directory, but only from inside a certain path, I can do the following: Right click on that path in the project explorer, click on Properties -> C/C++ General -> Paths and Symbols, and then edit the Includes.

I'd like to be able to do this programmatically.

I feel like the method setEntries() on PathEntryCollector might be the right thing to use, but I haven't been able to figure out how to make it work.

Can anyone offer guidance? Thanks.
Previous Topic:CDT 8.0.1 Regular Expressions Error Parser missing
Next Topic:How to index the files which are not under wokspace?
Goto Forum:
  


Current Time: Thu May 23 21:58:49 EDT 2013

Powered by FUDForum. Page generated in 0.13134 seconds