summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:18 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-10 22:35:34 +0000
commit6f44300f1a5de5eb6bdf768389e7768ae8dd6118 (patch)
tree663efd3a9fb00389dd22ea5baaa1096f4ee94c56 /package
parent866cae834b24aec99b8cf30d538681b1c5567a77 (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: Ic0fc983c533c7335d23f560480dc0f7bfd022b8e
Diffstat (limited to 'package')
-rw-r--r--package/package.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/package.pro b/package/package.pro
index 09c7a01..1035088 100644
--- a/package/package.pro
+++ b/package/package.pro
@@ -12,8 +12,13 @@ copy_config.commands = $(COPY_FILE) \"$$replace(copy_config.depends, /, $$QMAKE_
QMAKE_EXTRA_TARGETS += copy_config
PRE_TARGETDEPS += $$copy_config.target
+WGT_TYPE =
+CONFIG(debug, debug|release) {
+ WGT_TYPE = -debug
+}
+
wgt.target = package
-wgt.commands = wgtpkg-pack -f -o homescreen.wgt root
+wgt.commands = wgtpkg-pack -f -o homescreen$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt