> wouldn't it be a good idea to add
> 
>     additionalProductTypes: [product.texttemplate.outputTag]
> 
> to the texttemplate module?

I think that's wrong.

Because if the output of the text template should be processed further (for 
example, it creates a .cpp file which should be compiled into an application or 
library), then the output artifacts need to have a corresponding tag set via 
the ` texttemplate.outputTag` property.
And if the texttemplate module would set `additionalProductTypes: 
[product.texttemplate.outputTag]` then the Product containing the template 
would also get these tags (for example "cpp") which is wrong (it's an 
application/library, not a cpp file).

Best
Jochen

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

Reply via email to