Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322794 - Allow IBuilders to have options
Summary: Allow IBuilders to have options
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 8.0   Edit
Assignee: Doug Schaefer CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 321443
  Show dependency tree
 
Reported: 2010-08-16 10:39 EDT by Doug Schaefer CLA
Modified: 2010-08-18 11:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.