diff options
Diffstat (limited to 'share/qbs/modules/ib/ib.js')
-rw-r--r-- | share/qbs/modules/ib/ib.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/qbs/modules/ib/ib.js b/share/qbs/modules/ib/ib.js index 3254cdb06..86f13ff8c 100644 --- a/share/qbs/modules/ib/ib.js +++ b/share/qbs/modules/ib/ib.js @@ -42,6 +42,16 @@ function prepareIbtoold(product, input, outputs) { args.push("--sdk", sysroot); args.push("--flatten", ModUtils.moduleProperty(input, "flatten") ? 'YES' : 'NO'); + + // --module and --auto-activate-custom-fonts were introduced in Xcode 6.0 + if (ModUtils.moduleProperty(input, "ibtoolVersionMajor") >= 6) { + var module = ModUtils.moduleProperty(input, "module"); + if (module) + args.push("--module", module); + + if (ModUtils.moduleProperty(input, "autoActivateCustomFonts")) + args.push("--auto-activate-custom-fonts"); + } } // --minimum-deployment-target was introduced in Xcode 5.0 |