[QBS] Preprocessor-build-rule for artifacts with input-dependant fileTags

Joerg Bornemann joerg.bornemann at digia.com
Wed Jul 24 13:53:39 CEST 2013

On 23/07/2013 10:52, Johannes.Matokic at microchip.com wrote:

> Is there another way to create one rule for a general-purpose
> preprocessor which outputs different artifact-types depending on the
> input? Ideally without the need to list all possible artifacts.

This sounds a lot like a use case that was mentioned at the Qt 
contributor's summit last week: generating an unknown number of source 
files from one source file.
Currently, this is not supported. That's also the reason why moc is 
handled internally instead of having its rule in qtcore.qbs.

I've created QBS-370 for this issue.



Joerg Bornemann
Digia, Qt

More information about the Qbs mailing list