Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Adding per path include directives
Adding per path include directives [message #774372] Tue, 03 January 2012 19:43
Steven R. Brandt is currently offline Steven R. BrandtFriend
Messages: 6
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: Fri Mar 29 08:16:36 GMT 2024

Powered by FUDForum. Page generated in 0.02610 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top