[QBS] ist it possible to have conditional artifacts?

Christian Kandeler christian.kandeler at digia.com
Wed Oct 16 15:00:00 CEST 2013

On 10/15/2013 02:58 PM, Kurt Keller wrote:
>>>     Rule {
>>>       inputs: ['rpcsrc']
>>>       Artifact {
>>>         condition:
>>> product.moduleProperty(product.moduleName,"generateCLNT")
>> This looks like the right approach. Have you tried it?
> Yes now I have tried it. Qbs alway generates all 4 files. No matter, how
> the properties generateSVC, generateCLNT, ... are set.

Looking at the qbs sources, it almost seems as if we simply forget to 
evaluate the condition... Could you apply this patch and check whether 
it helps?


More information about the Qbs mailing list