summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:27 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-09 22:07:03 -0400
commitaae3ab7da4a7f580f5840509646d5ce3f6f56a6a (patch)
treeba6b56f3558591812e3e007a2023cb67f3bd3f3b /package
parent64827f59682374ffc9174b38677f94e1535579d4 (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: I94403dff83267b8a16d675875c77f2f32dd77c8d
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 0045478..a9b865b 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 launcher.wgt root
+wgt.commands = wgtpkg-pack -f -o launcher$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt