Add 2017 to copyright
[staging/HomeScreen.git] / WindowManager / WindowManager.pro
index 74dfb3a..bcf1f90 100644 (file)
@@ -1,4 +1,4 @@
-# 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
-
-TARGET = WindowManager
-CONFIG   += console
-CONFIG   -= app_bundle
-
 TEMPLATE = app
+TARGET = WindowManager
+QT = core dbus
 
+include(../interfaces/interfaces.pri)
+include(../ivi_layermanagement_api.pri)
 
 SOURCES += src/main.cpp \
     src/windowmanager.cpp
@@ -28,23 +25,9 @@ SOURCES += src/main.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
 }
 
-#contains(QT_ARCH, arm.*) {
-#    LIBS += -lpkgmgr-info
-#    LIBS += -laul
-#}
-
 OTHER_FILES += \
     README.md
-
-# remove generated files
-QMAKE_CLEAN += -r \
-    $$OUT_PWD/WindowManager \
-    $$OUT_PWD/Makefile