From acf8e4f4fcf14d6edf6fbb79ae2cfae1ce475baa Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 23 May 2013 11:48:18 +0200 Subject: support creation of OS X framework bundles To create a framework bundle, set your product type to "frameworkbundle". The bundle creation is similar to the "applicationbundle" product type. Task-number: QBS-274 Change-Id: I103feb59e141c463f66ebb45f08cea61dad5d880 Reviewed-by: Christian Kandeler Reviewed-by: Joerg Bornemann --- share/qbs/modules/cpp/DarwinGCC.qbs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'share/qbs/modules/cpp/DarwinGCC.qbs') diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs index e5b76003a..72dc0320e 100644 --- a/share/qbs/modules/cpp/DarwinGCC.qbs +++ b/share/qbs/modules/cpp/DarwinGCC.qbs @@ -1,6 +1,7 @@ import qbs 1.0 import '../utils.js' as ModUtils import 'darwin-tools.js' as Tools +import "gcc.js" as Gcc UnixGCC { condition: false @@ -49,9 +50,7 @@ UnixGCC { inputs: ["qbs"] Artifact { - fileName: product.targetName + ".app/" + - (product.moduleProperty("qbs", "targetOS") === "mac" ? "Contents/" : "") + - "Info.plist" + fileName: Gcc.bundleContentDirPath() + "/Info.plist" fileTags: ["infoplist"] } -- cgit v1.2.3