Well, that's nice.
Thank you.
Connor

Am 23.05.2012 09:55, schrieb Daniel Wagner:
> Hi Connor,
>
> yes, the feature is named "variant optimization" and works on 
> environment settings. In the framework classes, you'll frequently see 
> code like this:
>
> if (qx.core.Environment.get("qx.debug")) {
>    // debugging code
> }
>
> For the build version, the key "qx.debug" is set to false in the 
> configuration, so the generator will remove the entire block. This also 
> works for user-defined environment settings.
>
> See the manual for details:
> http://manual.qooxdoo.org/current/pages/tool/generator_optimizations.html#variants
>
>
> Regards,
> Daniel
>
> On 05/23/2012 09:35 AM, Connor wrote:
>> Hi,
>>
>> Does qooxdoo support something like conditional compiles ?
>> If I have for example some debug code, that I don't want to see in my
>> final build.
>>
>> Connor.
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to