diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-06-09 22:05:11 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-06-10 22:35:56 +0000 |
commit | 9fb6ae8424a2ba0255e186eec6c21cb23ce5beee (patch) | |
tree | 18b436a36246685e00d7d9efd5c267780a71e575 /package | |
parent | 8b4d23f03c7acf3bb61f3b579ab5b3ea062b0f7a (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: I792baf5af2887bd3b332190d408ac49fb1cbd4a3
Diffstat (limited to 'package')
-rw-r--r-- | package/package.pro | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/package.pro b/package/package.pro index 3453eee..daf812f 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 dashboard.wgt root +wgt.commands = wgtpkg-pack -f -o dashboard$${WGT_TYPE}.wgt root QMAKE_EXTRA_TARGETS += wgt |