summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:43 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-10 22:35:30 +0000
commit84cc710563d2730e7dcbd096a2cb9540c0bea80b (patch)
treea2aebba1b03d0bed20d70a7cba86391b384ca6e1 /package/package.pro
parentd78d1f00590e38a28373f6211424b48e4f2635dd (diff)
Update autobuild scripts
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1262a29b4bbf3958e9df76f111b35dccea367c2f
Diffstat (limited to 'package/package.pro')
-rw-r--r--package/package.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/package.pro b/package/package.pro
index a507a4f..59830c4 100644
--- a/package/package.pro
+++ b/package/package.pro
@@ -27,7 +27,12 @@ copy_flite.commands = $(COPY_FILE) \"$$replace(copy_flite.depends, /, $$QMAKE_DI
QMAKE_EXTRA_TARGETS += copy_flite
PRE_TARGETDEPS += $$copy_flite.target
+WGT_TYPE =
+CONFIG(debug, debug|release) {
+ WGT_TYPE = -debug
+}
+
wgt.target = package
-wgt.commands = wgtpkg-pack -f -o navigation.wgt root
+wgt.commands = wgtpkg-pack -f -o navigation$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt