[QBS] Platform specific Depends

Сидоров Алексей gorthauer87 at yandex.ru
Thu Sep 13 18:34:54 CEST 2012


How should be called platform specific modules?

Depends { name: "Cocoa" condition: qbs.qbs.targetOS === "mac" } 
vs 
Depends { name: "mac.Cocoa" } 

and

Depends { name: "windows.user32" } 
vs 
Depends { name: "winapi.user32" } 
vs 
Depends { name: "user32"; condition: qbs.qbs.targetOS === "windows" }

Whether to use a prefix for the platform specific modules in Depends and whether to add condition variable?



More information about the Qbs mailing list