[QBS] A Rule with more than one Artifact?

Joerg Bornemann joerg.bornemann at nokia.com
Tue Sep 11 11:30:19 CEST 2012


On 11/09/2012 09:29, ext Christian Kandeler wrote:

>> My question is: how do I express the custom Rule that generates /two/
>> files from /one/ input file?
>
> Isn't that just a special case of a multiplex rule?

Not really. A multiplex rule is applied once for all matching inputs 
(e.g. linker) a non-multiplex rule is applied on every single matching 
input.

To have more than one output just put more Artifact items in your rule. 
See the MSVC dynamicLibraryLinker rule that generates a LIB and a DLL.


BR,

Jörg




More information about the Qbs mailing list