[QBS] Multiply Artifacts in the rule
Christian Kandeler
christian.kandeler at digia.com
Mon Oct 28 17:48:24 CET 2013
On 10/28/2013 05:39 PM, Pavel Fischer wrote:
> Thank you. Now it's works.
>
> First time i try with this code, as you wrote in the first mail:
> for (var index in outputs) {
> print(outputs[index].fileName);
> }
> But it doesn't work. it works only with second pair []:
> for (var index in outputs) {
> print(outputs[index][0].fileName);
> }
Ah yes, because outputs is actually mapping file tags to lists of artifacts.
> So, is it possible to have single Artifact with more than output file?
No, and that's by definition. An artifact always corresponds to a file.
Christian
More information about the Qbs
mailing list