From e18f66f3318c8b073f68fe6f00aaec7d2c882ad7 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 9 Jun 2020 22:05:31 -0400 Subject: 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 Change-Id: If2071acc4bc5414d860740c6f5d7f96315504c8f --- package/package.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'package/package.pro') diff --git a/package/package.pro b/package/package.pro index 47996f5..614096f 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 mediaplayer.wgt root +wgt.commands = wgtpkg-pack -f -o mediaplayer$${WGT_TYPE}.wgt root QMAKE_EXTRA_TARGETS += wgt -- cgit 1.2.3-korg