aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-12 15:55:20 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2020-06-12 15:55:20 +0000
commitd675319c068825b181c01994bf49c286437dacf8 (patch)
treebc33d0b62ac48a0ea8f4e1e2bf453423aaa9a46f /package
parent7444efb947f28bf71ab4ce870012fe15adf30565 (diff)
parentd3b3e5a74a61f7da046975131259d4085b4dca45 (diff)
Merge "Update autobuild scripts"
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