Re: [Qbs] "Multi" Properties

2017-12-18 Thread Карелин Павел
OK, understood. Thank you! 18.12.2017 14:15, Christian Kandeler пишет: On Mon, 18 Dec 2017 14:04:21 +0300 Карелин Павел wrote: In my project, I use the following construction:     cpp.defines: {     var def = [];     if (project.simdDebug)    

Re: [Qbs] "Multi" Properties

2017-12-18 Thread Christian Kandeler
On Mon, 18 Dec 2017 14:04:21 +0300 Карелин Павел wrote: > In my project, I use the following construction: > >     cpp.defines: { >     var def = []; >     if (project.simdDebug) >     def.push("SIMD_DEBUG"); > >     if (project.useSimd) >    

[Qbs] "Multi" Properties

2017-12-18 Thread Карелин Павел
Hi, In my project, I use the following construction:     cpp.defines: {     var def = [];     if (project.simdDebug)     def.push("SIMD_DEBUG");     if (project.useSimd)     def.push("USE_SIMD");     return def;     } It works fine. But I decided to experiment