-# Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+# Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-QT += core dbus
-QT -= gui
-
+TEMPLATE = app
TARGET = WindowManager
-CONFIG += console
-CONFIG -= app_bundle
+QT = core dbus
+include(../interfaces/interfaces.pri)
+include(../ivi_layermanagement_api.pri)
SOURCES += src/main.cpp \
src/windowmanager.cpp
HEADERS += \
src/windowmanager.hpp
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces/
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
-contains(QT_ARCH, arm.*) {
+config_ivi_layermanagement_api {
LIBS += -lilmControl -lilmCommon
}
-FORMS +=
-
OTHER_FILES += \
README.md
-
-# remove generated files
-QMAKE_CLEAN += -r \
- $$OUT_PWD/WindowManager \
- $$OUT_PWD/Makefile
-