diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-06-09 22:05:58 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-06-10 22:34:53 +0000 |
commit | f8ef14823e661ff00285ffddd86397c49c081162 (patch) | |
tree | 7df2b777f217fb91d0d40f040514ea7128e5446c /package/package.pro | |
parent | 6ed2a090aa630cfc950719f9f82a47c0ed41e8c4 (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: Ie5eb8365d77f5de507dd393f41d95ac88f417661
Diffstat (limited to 'package/package.pro')
-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 125a378..495dc40 100644 --- a/package/package.pro +++ b/package/package.pro @@ -15,7 +15,12 @@ DISTFILES = icon.svg config.xml PRE_TARGETDEPS += $$copy_config.target } +WGT_TYPE = +CONFIG(debug, debug|release) { + WGT_TYPE = -debug +} + wgt.target = package -wgt.commands = wgtpkg-pack -f -o settings.wgt root +wgt.commands = wgtpkg-pack -f -o settings$${WGT_TYPE}.wgt root QMAKE_EXTRA_TARGETS += wgt |