[QBS] Disable load specific modules

Joerg Bornemann joerg.bornemann at digia.com
Wed Mar 13 11:29:43 CET 2013


On 13/03/2013 10:19, Aleksey Sidorov wrote:
> Earlier, I turned off modules using by
> Module {
>      name: "foo"
>      condition: false
> }
> But now i have an error:
>
> ERROR: Module foo could not be loaded.

Well it cannot be loaded, because the condition is false, right?

> Or more strange errors like:
>
> ERROR: Unknown property: qbs.architecture

I cannot help you with this one without further details.

> How i can disable module's dependences by condition to create soft dependencies?

Unfortunately I don't know what soft dependencies you're talking about.
Could you please elaborate a bit on your use case?


Cheers,

Joerg





More information about the Qbs mailing list