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

Bug 322794

Summary: Allow IBuilders to have options
Product: [Tools] CDT Reporter: Doug Schaefer <cdtdoug>
Component: cdt-buildAssignee: Doug Schaefer <cdtdoug>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: enhancement    
Priority: P3 CC: malaperle
Version: 8.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 321443    

Description Doug Schaefer CLA 2010-08-16 10:39:42 EDT
Now that we allow for more advanced build behavior, we need a way to store configuration parameters. An example would be the command-line options to CMake or configure.

My proposal is to have IBuilder inherit IHoldsOptions and hook it up just like ITool and IToolChain.

Once that is complete, we'll need a way to override the IBuilder UI, but I'll save that for another bug. For now, setting the options in a template and using them in the build runner will do.
Comment 1 Doug Schaefer CLA 2010-08-18 10:27:36 EDT
About to commit this. The change was pretty simple. I have made HoldsOption the superclass of Builder and hooked it up to the serialization and load routines. I have also added options as a child for builder in the buildDefinitions schema.