Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » CDT include paths with Oomph?
CDT include paths with Oomph? [message #1777331] Tue, 28 November 2017 14:56 Go to next message
Maria Fardig is currently offline Maria FardigFriend
Messages: 8
Registered: November 2017
Junior Member
Hi!

We have an Eclipse-based development environment set up for developing C code with CDT. There are a lot of different projects and developers, and in order to manage all installations and projects we use Oomph.

However, the developers still need to manually include paths and macros in their build configurations for Eclipse to index their code, and since the code base is very complex this has proven to be a cumbersome thing to do for every project. We would like to automate this in some way, beginning with including a couple of paths that are common for all projects.
In the future we want to do this in a more thorough way, but right now we only need to automatically include these few paths in all projects.

Does anyone know if there is a way to do this with Oomph?

Thanks in advance!
Re: CDT include paths with Oomph? [message #1777397 is a reply to message #1777331] Wed, 29 November 2017 08:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
What is a build configuration? Where/how is this information stored? As a preference? Via dialog settings? As a file in the project (like a Launch Configuration)?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: CDT include paths with Oomph? [message #1777447 is a reply to message #1777397] Wed, 29 November 2017 12:55 Go to previous messageGo to next message
Maria Fardig is currently offline Maria FardigFriend
Messages: 8
Registered: November 2017
Junior Member
The include paths I refer to can be manually set under "Project -> Properties -> C/C++ -> General-> Paths and Symbols-> Includes", and they also show up under "Project -> Properties -> C/C++ -> Build -> Settings" or "Project -> Properties -> C/C++ -> General-> Preprocessor Include Paths, Macros etc.". On disk these paths are then found in the .cproject file.

There doesn't seem to be a way (at least through the UI) to set some kind of "common" include paths for C projects.

I guess what we really want to know is, if it's possible to set project specific properties through Oomph? Maybe filtering on project type, and if it's a C project, then set those properties that we want to be common for all projects of this type.
Re: CDT include paths with Oomph? [message #1777493 is a reply to message #1777447] Wed, 29 November 2017 17:14 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
I think that CDT build configurations are not "Eclipse project-specific properties". They're more like JDT's class paths, which are stored in .classpath files and are usually modified through JDT APIs. Hence, CDT build configurations aren't supported out of the box by Oomph. A special setup task would have to be implemented, either by you, by us or by somebody else.

Re: CDT include paths with Oomph? [message #1777545 is a reply to message #1777493] Thu, 30 November 2017 09:16 Go to previous messageGo to next message
Maria Fardig is currently offline Maria FardigFriend
Messages: 8
Registered: November 2017
Junior Member
Thank you for your reply!

Then I guess that we have to scrap the idea of a quick fix, and instead continue to work on a more robust way to improve the code indexing.

Sadly, none of us have the time to implement new features for Oomph right now, but if we encounter similar problems in the future, that might be a good thing to do.
Re: CDT include paths with Oomph? [message #1777560 is a reply to message #1777545] Thu, 30 November 2017 10:28 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Note however that a resource modify task (using platform:/resource/<path-in-workspace>) can be used to modify workspace resources...

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Problem with certain setup elements not having an effect
Next Topic:Startup no splash and very slow after Oxygen upgrade
Goto Forum:
  


Current Time: Fri Apr 19 04:55:17 GMT 2024

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

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

Back to the top