summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:39 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-09 22:07:28 -0400
commit90585b01528590b5d27cdef79450e597653fa239 (patch)
tree8b7a330fcf4207bcb8022fbc992dd012d48e7b09 /package
parent57881a95bf730dec7dd010bc086a5c42003840d4 (diff)
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: I1e5e36fba6205f046b007be7ae729abadfbd594c
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 68aa56a..a9d148f 100644
--- a/package/package.pro
+++ b/package/package.pro
@@ -13,7 +13,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 navigation.wgt root
+wgt.commands = wgtpkg-pack -f -o navigation$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt