summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uikit/testcase.prf
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2016-03-07 20:11:11 +0000
committerJake Petroules <jake.petroules@qt.io>2016-05-05 02:08:51 +0000
commit7c7d8f870e028bd288dee6b2cab9869e17794ce9 (patch)
treed5cc7827e86f696f5794b9566dc414d890337ac4 /mkspecs/features/uikit/testcase.prf
parent6fb56a74c87c49341f2313f2dfc2f526e498fede (diff)
Refactor iOS builds to facilitate tvOS port
- moved prf files to shared location (uikit, added to QMAKE_PLATFORM) - prepare some formatting (unconditional blocks mostly) to add conditions later - make device detection script more generic, passing filter strings as a parameter and returning non-os specific variables Change-Id: I61f2b77093304ff985bec9da04fda57ff296b16b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/uikit/testcase.prf')
-rw-r--r--mkspecs/features/uikit/testcase.prf12
1 files changed, 12 insertions, 0 deletions
diff --git a/mkspecs/features/uikit/testcase.prf b/mkspecs/features/uikit/testcase.prf
new file mode 100644
index 0000000000..e16c163ffa
--- /dev/null
+++ b/mkspecs/features/uikit/testcase.prf
@@ -0,0 +1,12 @@
+# Pretend we have a target, even though our template is aux
+xcodebuild: \
+ CONFIG += have_target
+
+load(testcase)
+
+# We provide our own check logic
+xcodebuild {
+ check.depends =
+ check.commands =
+ QMAKE_EXTRA_TARGETS *= check
+}