summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:22 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-10 22:35:52 +0000
commit63296ac63f93bef47835b815b4f3d8a30e16ba12 (patch)
treef274f6acb988089689a06805bd4c2a325fbb3e22 /app
parentae59a764d6b795e6607ac2cab7493136b5ad8003 (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: I6c95323eaf8c7bbcd3658f809c569a8cd8f34686
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 1924f14..d032417 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -10,6 +10,10 @@ SOURCES = main.cpp \
CONFIG += link_pkgconfig
PKGCONFIG += qtappfw-hvac
+CONFIG(release, debug|release) {
+ QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
+}
+
RESOURCES += \
hvac.qrc \
images/images.qrc