[QBS] Define "Depends" programatically

Joerg Bornemann joerg.bornemann at theqtcompany.com
Mon Jan 12 11:08:24 CET 2015


On 11-Jan-15 16:30, Andrey Anpilogov wrote:

> Is there any way to "call"/"define" Depends programatically?
> For example based of project property.

Due to the aim of creating a declarative project representation this is 
currently not possible.
One could add some property like

Product {
     dependencies: [{name: "cpp"}, {name: "foo"}, ...]
}

that is in essence a list if Depends items.


BR,

Joerg



More information about the Qbs mailing list