[QBS] What is the semantic difference between Rule and Transformer?

Smirnov Vladimir mapron at yandex.ru
Sat Nov 8 14:40:23 CET 2014


 From docs:
-A /multiplex rule/ creates one /transformer/ that takes all input 
artifacts with the matching input file tag and creates one or more 
artifacts.
-A /simplex rule/ creates one transformer per matching input file.
-A /transformer/ takes zero or more inputs and produces one or more 
output artifacts from them.

So I can imagine that Rule wraps some Transformer's functionality. But 
why don't just use only Rules? What can i do with Transformer that Rule 
couldn't cover?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20141108/d439f185/attachment.html>


More information about the Qbs mailing list