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

2020-07-21 Thread 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

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

2020-07-21 Thread Карелин Павел
21.07.2020 16:45, Christian Kandeler пишет: On Tue, 21 Jul 2020 15:10:38 +0300 Карелин Павел wrote: I recently needed to develop a rule for a sip generator (see below). Basically, the rule works well, but yesterday it failed. At the output, sip-generator create 6 cpp-files of the following

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

2020-07-21 Thread Christian Kandeler
On Tue, 21 Jul 2020 15:10:38 +0300 Карелин Павел wrote: > I recently needed to develop a rule for a sip generator (see below). > Basically, the rule works well, but yesterday it failed. At the output, > sip-generator create 6 cpp-files of the following format: > sip_corepartX.cpp (this is

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

2020-07-21 Thread Richard Weickelt
> However, yesterday I came across a small > sip-file, and the generated cpp-files turned out to be not 6, but only 5. > Naturally, my rule failed. > > Question: how can I resolve my situation? > Of course, I can tell the sip-generator to create fewer cpp-files (parameter > -j), but I would like

[Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-21 Thread Карелин Павел
Hello. I recently needed to develop a rule for a sip generator (see below). Basically, the rule works well, but yesterday it failed. At the output, sip-generator create 6 cpp-files of the following format: sip_corepartX.cpp (this is justified from the point of view of parallel compilation,