Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Refreshing UI when using IManagedOptionValueHandler

> The problem is that the compiler of my toolchain needs additional 
> optimization flags when i change the optimization level:
> 
> When optimization level 0 is set, no other flags are needed, so they
> can be disabled.  When i change to optimization level 3 for example,
> two other flags have get enabled now and one enum flag has to get
> changed to an other value.

E.g. something like this?

Optimization level (enumerated option)
  O0 (enumeratedOptionValue)
  O1 (enumeratedOptionValue)
  O2 (enumeratedOptionValue)
  O3 (enumeratedOptionValue)

otherflag1 (boolean option) -> enable if O3
otherflag2 (boolean option) -> enable if O3

Other enumerated option
  flag1 (enable if O1)
  flag2 (enable if O1|O2|O3)
  flag3 (enable if O3)


Back to the top