summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:06:02 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-09 22:08:14 -0400
commitd3b3e5a74a61f7da046975131259d4085b4dca45 (patch)
treeb2618676a13589f472166f83cbff84e807c57128 /package
parentb70f1326f483fc3e42a95f792c63d8d80ff0ce32 (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: I26f411eaa320ca478f89aa0483992ddb96ff6a25
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 af7e783..3c1640e 100644
--- a/package/package.pro
+++ b/package/package.pro
@@ -7,7 +7,12 @@ 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 taskmanager.wgt root
+wgt.commands = wgtpkg-pack -f -o taskmanager$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt