summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:50 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-10 22:35:18 +0000
commit921fc99dbd966e2e5cdf34d3710a600e4aee8f26 (patch)
tree9038be57884918ee9dc8299262e9039d5459d8bb /app
parent046864edf1ae84b9f1317805f0ff9a45f4e4e55e (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: I18bc7c9cf2dff42b9240b3a3f3b20031c782cc10
Diffstat (limited to 'app')
-rw-r--r--app/app.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/app.pro b/app/app.pro
index 8593eb8..70add20 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -7,6 +7,10 @@ HEADERS = phone.h numbertype.h fileplayer.h
CONFIG += link_pkgconfig
PKGCONFIG += libhomescreen qlibwindowmanager qtappfw-phone qtappfw-bt-pbap gstreamer-1.0
+CONFIG(release, debug|release) {
+ QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
+}
+
RESOURCES += \
phone.qrc \
images/images.qrc