Add VIS vehicle signal support
[apps/homescreen.git] / homescreen / homescreen.pro
1 # Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
2 # Copyright (c) 2017 TOYOTA MOTOR CORPORATION
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 TEMPLATE = app
17 TARGET = homescreen
18 QT = qml quick gui-private dbus
19 CONFIG += c++11 link_pkgconfig wayland-scanner
20 PKGCONFIG += wayland-client qtappfw-weather qtappfw-network qtappfw-bt qtappfw-vehicle-signals
21
22 DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml
23
24 SOURCES += \
25     src/main.cpp \
26     src/shell.cpp \
27     src/statusbarmodel.cpp \
28     src/statusbarserver.cpp \
29     src/applicationlauncher.cpp \
30     src/mastervolume.cpp \
31     src/homescreenhandler.cpp
32
33 HEADERS  += \
34     src/shell.h \
35     src/constants.h \
36     src/statusbarmodel.h \
37     src/statusbarserver.h \
38     src/applicationlauncher.h \
39     src/mastervolume.h \
40     src/homescreenhandler.h
41
42 OTHER_FILES += \
43     README.md
44
45 RESOURCES += \
46     qml/images/MediaPlayer/mediaplayer.qrc \
47     qml/images/MediaMusic/mediamusic.qrc \
48     qml/images/Weather/weather.qrc \
49     qml/images/Shortcut/shortcut.qrc \
50     qml/images/Status/status.qrc \
51     qml/images/images.qrc \
52     qml/qml.qrc
53
54 AGL_SHELL_PATH = $$system(pkg-config --variable=pkgdatadir agl-compositor-0.0.20-protocols)
55 WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml $$AGL_SHELL_PATH/agl-shell-desktop.xml
56
57 target.path = $${PREFIX}/usr/bin
58 target.files += $${OUT_PWD}/$${TARGET}
59 target.CONFIG = no_check_exist executable
60
61 INSTALLS += target