Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313927

Summary: Need API for requesting builds of cdt configurations
Product: [Tools] CDT Reporter: James Blackburn <jamesblackburn+eclipse>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: mober.at+eclipse
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 485132    

Description James Blackburn CLA 2010-05-21 11:42:57 EDT
As discussed in bug 309126, there is no central location for contributors to request the build of a specific CDT configuration.

As configurations are a core concept (as are references between configurations) we should provide a small utility class for building a project configuration and its dependencies.
Comment 1 Martin Oberhuber CLA 2016-06-05 09:20:41 EDT
For bug 485132, we had to duplicate some CDT code in TCF.

@Doug, I am wondering if/how the request for an API to build CDT Configurations would fit the new build infrastructure in CDT 9.0 and higher ?
Comment 2 Doug Schaefer CLA 2016-06-06 00:10:28 EDT
(In reply to Martin Oberhuber from comment #1)
> For bug 485132, we had to duplicate some CDT code in TCF.
> 
> @Doug, I am wondering if/how the request for an API to build CDT
> Configurations would fit the new build infrastructure in CDT 9.0 and higher ?

The new build infrastructure is still in it's infancy. It's not for general use yet.

But, yes, the API is pretty simple. Adapt the IBuildConfiguration to an ICBuildConfiguration and call the build method. I'm now looking at Oxygen to get it spread throughout the CDT so it'll be a while.