Re: [Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-23 Thread Christian Kandeler
On Thu, 23 Jul 2020 14:13:13 +0300
Карелин Павел  wrote:

> Having weighed all the "pros" and "cons", I have decided not to use 
> qbs.Process in outputArtifacts. Now I settled on a stupidly-simple 
> solution: I reduced the number of generated files from 6 to 5. 

But how do you know there will never be fewer than that?


Christian
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs


Re: [Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-23 Thread Карелин Павел
Having weighed all the "pros" and "cons", I have decided not to use 
qbs.Process in outputArtifacts. Now I settled on a stupidly-simple 
solution: I reduced the number of generated files from 6 to 5. The 
increase in compilation time in the assembly scale of a large project is 
almost imperceptible.


Nevertheless, I want to thank Christian and Richard for their advices. 
Now I know a little more about QBS :-)


--
BR, Pavel Karelin


21.07.2020 18:42, Christian Kandeler пишет:

On Tue, 21 Jul 2020 18:32:10 +0300
Карелин Павел  wrote:


How can I execute Command from outputArtifacts?

You can't, you need to use a JavaScript command and qbs.Process.


Christian
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs


___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs