Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » How to generate specific tool command based on more than one option(Implementation of IOptionCommandGenerator interface, need access to other tool options to generate command)
How to generate specific tool command based on more than one option [message #1007357] Tue, 05 February 2013 10:40
Sebastian Wagner is currently offline Sebastian Wagner
Messages: 13
Registered: June 2010
Junior Member
I'm trying to combine several boolean options into one compiler command. Therefore I implemented an own command generator using the IOptionCommandGenerator interface.

As a parameter of generateCommand I get an IOption object for the respective option containing the value and all other information.

Now I tried to read also the other options for this tool by calling
option.getOptionHolder.getOptions
, which returns me the list of all options for this tool.
But in those options, the value is not filled, but is null. I guess this is because the values are depending on the configuration used.

Can anyone help me how to access all other options including values, based on the given IOptions parameter?

Thanks for your help!
Previous Topic:CDT 8/Indigo: Editor erroneously marks some symbols as unresolved
Next Topic:CDT default file extensions
Goto Forum:
  


Current Time: Sun May 19 17:52:04 EDT 2013

Powered by FUDForum. Page generated in 0.05308 seconds