dae24dc552a38ee9da9fd0bf09dc92335383a43d
[staging/HomeScreen.git] / HomeScreen / HomeScreen.pro
1 # Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 TEMPLATE = app
16 TARGET = HomeScreen
17 QT = widgets dbus
18
19 include(../interfaces/interfaces.pri)
20 include(../ivi_layermanagement_api.pri)
21
22 SOURCES += \
23     src/main.cpp \
24     src/mainwindow.cpp \
25     src/settingswidget.cpp \
26     src/popupwidget.cpp \
27     src/controlbarwidget.cpp \
28     src/statusbarwidget.cpp \
29     src/applauncherwidget.cpp \
30     src/homescreencontrolinterface.cpp \
31     src/layouthandler.cpp
32
33 HEADERS  += \
34     src/mainwindow.h \
35     src/settingswidget.h \
36     src/popupwidget.h \
37     src/controlbarwidget.h \
38     src/statusbarwidget.h \
39     src/applauncherwidget.h \
40     src/homescreencontrolinterface.h \
41     src/layouthandler.h
42
43 FORMS    += \
44     resources/mainwindow.ui \
45     resources/settingswidget.ui \
46     resources/popupwidget.ui \
47     resources/controlbarwidget.ui \
48     resources/statusbarwidget.ui \
49     resources/applauncherwidget.ui
50
51 TRANSLATIONS = \
52     resources/translations/homescreen_en_US.ts \
53     resources/translations/homescreen_de_DE.ts \
54     resources/translations/homescreen_ja_JP.ts
55
56 OTHER_FILES += \
57     README.md
58
59 RESOURCES += \
60     resources/homescreen.qrc
61
62 copydata.commands = $(COPY_DIR) $$PWD/resources/colorschemes $$OUT_PWD
63 HomeScreen.depends = $(HomeScreen) copydata
64 export(HomeScreen.depends)
65 export(copydata.commands)
66 QMAKE_EXTRA_TARGETS += HomeScreen copydata