diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-05-23 11:48:18 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-05-31 18:04:52 +0200 |
commit | acf8e4f4fcf14d6edf6fbb79ae2cfae1ce475baa (patch) | |
tree | 6bc811a1cfd010512543460887be6f36f3c83530 /share/qbs/modules/cpp/DarwinGCC.qbs | |
parent | 8305848aa599c578a4b076608528d2bf7068ea22 (diff) |
support creation of OS X framework bundlesv1.0.0
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 <christian.kandeler@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share/qbs/modules/cpp/DarwinGCC.qbs')
-rw-r--r-- | share/qbs/modules/cpp/DarwinGCC.qbs | 5 |
1 files changed, 2 insertions, 3 deletions
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"] } |