OldConfigurationConditions
Current
At the moment conditioning is done like that
<if platform="windows" build="workbench"/>
Which means enabled for
windows and workbench
<ifnot platform="windows" build="workbench"/>
Which means enabled for
everything but (windows and workbench)
<if platform="windows"/> <if platform="unix"/>
Which means enabled for
windows or unix
Something a bit more complicated like enabled for workbench on everything but windows is not possible and would have to be expressed as
<if platform="unix" build="workbench"/> <if platform="macintosh" build="workbench"/> <if platform="vxworks" build="workbench"/>
Proposal
If the conditioning would be done like this
<condition> <platform isnot="windows"/> <build is="workbench"/> </condition>
Which would mean
every platform but windows and workbench
Or a more complex example
<condition> <platform is="windows"/> <build is="workbench"/> <multithreaded is="true"/> </condition> <condition> <platform isnot="windows"/> <platform isnot="macintosh"/> <multithreaded is="true"/> <custom name="somevar" is="true"> </condition>
Which would mean
(windows and workbench and multithreaded) or (not windows and not macintosh and multithreaded and somevar=true)
We should have enough flexibility to allow complicated cases as well.