aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/ios-gcc.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-06-05 16:48:17 -0400
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-06-10 10:59:04 +0200
commit9181a213d9a251094cf7345f15e7f81aa6bb5ee9 (patch)
tree5a4345b50a5aab605ad2c3f3ef60e65bf9038c24 /share/qbs/modules/cpp/ios-gcc.qbs
parent1bed06e6d87a5e1b2d9a43427ea397e1fc2e7535 (diff)
Make use of Rule.condition in ipa rule.
Instead of creating a fake command we turn the rule off if buildIpa is false. Change-Id: I6ecda5e65770813a196222f9fc36b3df30d6ecd4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share/qbs/modules/cpp/ios-gcc.qbs')
-rw-r--r--share/qbs/modules/cpp/ios-gcc.qbs9
1 files changed, 1 insertions, 8 deletions
diff --git a/share/qbs/modules/cpp/ios-gcc.qbs b/share/qbs/modules/cpp/ios-gcc.qbs
index a68b41ab9..6da57fccc 100644
--- a/share/qbs/modules/cpp/ios-gcc.qbs
+++ b/share/qbs/modules/cpp/ios-gcc.qbs
@@ -35,6 +35,7 @@ DarwinGCC {
}
Rule {
+ condition: product.moduleProperty("cpp", "buildIpa")
multiplex: true
inputs: ["application", "infoplist", "pkginfo", "resourcerules", "nib"]
@@ -44,14 +45,6 @@ DarwinGCC {
}
prepare: {
- if (!(product.moduleProperty("qbs","architecture").match("^arm"))) {
- // to be removed when dynamic dependencies work
- var cmd = new JavaScriptCommand();
- cmd.description = "skipping ipa for simulator on arch " +
- product.moduleProperty("qbs", "architecture");
- cmd.highlight = "codegen";
- return cmd;
- }
var signingIdentity = product.moduleProperty("cpp", "signingIdentity");
if (!signingIdentity)
throw "The name of a valid Signing identity should be stored in cpp.signingIdentity to build package.";