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

Re: [Qbs] QT_DEBUG defined on release builds

2017-12-18 Thread Christian Kandeler
On Sun, 17 Dec 2017 08:53:42 +1300 Christian Gagneraud wrote: > Could someone explain the rules as to when to use base.concat or not, eg is > it necessary here just because of the group? Or should this be always used? > (Project, Product, Module, ...) You use "base" if and

Re: [Qbs] Fwd: qbs run --dry-run not working ?

2017-12-18 Thread Damien Courtois
> VSCode is actually one of the reasons why I brought up a qbs "server mode" > that would just use REST APIs for IDE integration (including solving the > compatibility issue for Qt Creator). I would love to see something like this :) > > On Dec 15, 2017, at 5:33 AM, Heiko Nardmann < >