remove QMAKE_CLEAN += -r * from project files
[staging/HomeScreen.git] / WindowManager / WindowManager.pro
index 58ce08a..5aa7320 100644 (file)
 # 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
@@ -26,21 +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
 }
 
-FORMS +=
-
 OTHER_FILES += \
     README.md
-
-# remove generated files
-QMAKE_CLEAN += -r \
-    $$OUT_PWD/WindowManager \
-    $$OUT_PWD/Makefile
-