summaryrefslogtreecommitdiffstats
path: root/app/app.pro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-09 22:05:47 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-09 22:07:43 -0400
commit8bc49759b5905e86954d506df172680ce2abc40a (patch)
tree20ac63205508dbadb5dfc1061e59adaa259ae916 /app/app.pro
parentd53b7647a82fb3a8e42c191e2a325767e75a9062 (diff)
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: Iff2a8e617970e49f80e0c0b4a06488992b4a969f
Diffstat (limited to 'app/app.pro')
-rw-r--r--app/app.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/app.pro b/app/app.pro
index 0cc31aa..2c8b56e 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -20,6 +20,10 @@ CONFIG += c++11 link_pkgconfig
DESTDIR = $${OUT_PWD}/../package/root/bin
PKGCONFIG += qlibwindowmanager libhomescreen
+CONFIG(release, debug|release) {
+ QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
+}
+
HEADERS += \
eventhandler.h \
onscreenmodel.h