[QBS] Link static libraries with shared library.
Ruslan Nigmatullin
EuroElessar at yandex.ru
Mon Oct 8 17:00:36 CEST 2012
01.10.2012, 13:58, "Joerg Bornemann" <joerg.bornemann at digia.com>:
> On 28/09/2012 14:24, Ruslan Nigmatullin wrote:
>
> [...]
>
> This would add all "staticplugin" products as dependency to "myapp".
> We could mix both approaches.
>
> Depends {
> names: project.products.filter(function(x) { return
> x.fileTags.indexOf("staticplugin") >= 0; }).map(function(x){ return
> x.name; }
> }
>
> Depends.names gets a list of dependency names.
> project.products is a list of product objects.
But what is an order products should be resolved in? We don't know fileTags for products' artifacts before all Depends are resolved, but it depends on fileTags property. It's recursion as I see.
Ruslan
More information about the Qbs
mailing list