[Qbs] Evaluation of Conditional Depends

Richard Weickelt richard at weickelt.de
Sun Jun 7 01:03:57 CEST 2020


> In ModuleA there is a property enableFeature which by default is false.
> 
> ModuleB conditionally depends on ModuleC, if ModuleA.enableFeature is true.
> 
> A Product depends on ModuleA and ModuleB and sets ModuleA.enableFeature to true. However, ModuleC is not used as a dependency.

Could you clarify the relationship between ModuleA and ModuleB? Maybe post
some minimal example code.


More information about the Qbs mailing list