0d61233bfe33abbae38d4daf55a412c95ae71fac
[apps/launcher.git] / launcher / launcher.pro
1 # Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
2 # Copyright (c) 2018,2019 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 = launcher
18 QT = qml quick websockets gui-private
19 CONFIG += c++11 link_pkgconfig wayland-scanner
20 DESTDIR = $${OUT_PWD}/../package/root/bin
21 PKGCONFIG += libhomescreen wayland-client
22
23 CONFIG(release, debug|release) {
24     QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
25 }
26
27 SOURCES += \
28     src/main.cpp \
29     src/applicationmodel.cpp \
30     src/appinfo.cpp \
31     src/shell-desktop.cpp \
32     src/homescreenhandler.cpp
33
34 HEADERS  += \
35     src/applicationmodel.h \
36     src/appinfo.h \
37     src/shell-desktop.h \
38     src/homescreenhandler.h
39
40 OTHER_FILES += \
41     README.md
42
43 RESOURCES += \
44     qml/images/images.qrc \
45     qml/qml.qrc
46
47 WAYLANDCLIENTSOURCES += \
48     protocol/agl-shell-desktop.xml