summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:35 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-10 22:35:40 +0000
commitea5cae15deb6e8dbe1db8bfe389217cc26fbdfca (patch)
treea971808c2e153b4c56cf1b078df32fd6ea873664 /package
parenta598685d50f4affebee1aee0be1dc6ed03802d4d (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: I44fdcf674c94845daa57180e10d213d05add781d
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 629e40f..3620f37 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 messaging.wgt root
+wgt.commands = wgtpkg-pack -f -o messaging$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt