summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
Diffstat (limited to 'package/package.pro')
-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