summaryrefslogtreecommitdiffstats
path: root/app/app.pri
blob: 7a60d44e80d119a9d8e9b3ae405d83a7505a59c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TEMPLATE = app
QMAKE_LFLAGS += "-Wl,--hash-style=gnu -Wl,--as-needed"

load(configure)
qtCompileTest(libhomescreen)

config_libhomescreen {
    CONFIG += link_pkgconfig
    PKGCONFIG += homescreen
    DEFINES += HAVE_LIBHOMESCREEN
}

DESTDIR = $${OUT_PWD}/../package/root/bin

copy_ringtone.target = $$DESTDIR/Phone.wav
copy_ringtone.depends = $$_PRO_FILE_PWD_/Phone.wav
copy_ringtone.commands = $(COPY_FILE) \"$$replace(copy_ringtone.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_ringtone.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_ringtone
PRE_TARGETDEPS += $$copy_ringtone.target