diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-06-09 22:06:05 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-06-11 14:56:00 +0000 |
commit | 97fbd6401ee0720d4efe4d4e9e2e02cfc6b0c4bd (patch) | |
tree | 94367dc581b547d7a58796c2140f0c04d058d36d /package | |
parent | 9f03d663bc584b56e4732e615f8cd771c527a2c4 (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: Icfb47409097e5d0098e84ff8ae21d38ae1745b5e
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 ae6921b..907d59c 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 tbtnavi.wgt root +wgt.commands = wgtpkg-pack -f -o tbtnavi$${WGT_TYPE}.wgt root QMAKE_EXTRA_TARGETS += wgt |