Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] General toolchain options

>> Yes there is, each tool can define its own commandLineGenerator, this
>> tool specific generator can query the required global toolchain
>> option and add the appropriate option.
> 
> If I implement my own commandLineGenerator, do I need to implement the
> entire IManagedCommandLineInfo interface, or can I return null values
> for any part I don't want to modify?

Our implementation ends with:
        return new ManagedCommandLineInfo( resolvedCmd, "", "",	cmdflags, "", "", "", "" );

In which 'resolvedCmd' is the full command line including the tool
(compiler, linker) to be called, and 'cmdflags' is just the option
part. The first is used by the builders, and the 'cmdflags' string is
shown in the 'All options:' box when you select the tool in the 'Tool
settings' property tab.

Regards,
  Wieant


Back to the top