From e83945c488d9efde2c82cbd074cd56ddcad8b0a1 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 9 Jun 2020 22:05:55 -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: Ief6719b4237f87947ad686bbfb206c938e6adda0 --- app/app.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/app.pro') diff --git a/app/app.pro b/app/app.pro index 958614f..497ac8c 100644 --- a/app/app.pro +++ b/app/app.pro @@ -7,6 +7,10 @@ SOURCES = main.cpp PresetDataObject.cpp CONFIG += link_pkgconfig PKGCONFIG += libhomescreen qlibwindowmanager qtappfw-radio +CONFIG(release, debug|release) { + QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET) +} + RESOURCES += \ radio.qrc \ images/images.qrc -- cgit 1.2.3-korg