Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (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 15:40
Sebastian Wagner is currently offline Sebastian WagnerFriend
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 default file extensions
Next Topic:CDT cross project reference building issues
Goto Forum:
  


Current Time: Thu Sep 19 08:41:53 GMT 2024

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

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

Back to the top