aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-11-21 12:04:19 +0900
committerJens Bocklage <jens_bocklage@mentor.com>2016-11-21 09:33:58 +0000
commit0120ff5e9f513b048e3904eaacaa530e1f0188bb (patch)
treefea26ded555cca31146f52b18c2def602282eaed
parent61f63653cdff5ae2ee0613d92f501e75769bfd1e (diff)
introduce interfaces.pri
Change-Id: I3649d5275b9da71feb216eb70c9d9fda73507d69 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
-rw-r--r--HomeScreen/HomeScreen.pro6
-rw-r--r--HomeScreenAppFrameworkBinderAGL/HomeScreenAppFrameworkBinderAGL.pro5
-rw-r--r--HomeScreenSimulator/HomeScreenSimulator.pro5
-rw-r--r--InputEventManager/InputEventManager.pro5
-rw-r--r--SampleAppTimeDate/SampleAppTimeDate.pro5
-rw-r--r--WindowManager/WindowManager.pro4
-rw-r--r--interfaces/interfaces.pri3
7 files changed, 9 insertions, 24 deletions
diff --git a/HomeScreen/HomeScreen.pro b/HomeScreen/HomeScreen.pro
index 46ed74c..7c66fda 100644
--- a/HomeScreen/HomeScreen.pro
+++ b/HomeScreen/HomeScreen.pro
@@ -40,11 +40,7 @@ HEADERS += \
src/homescreencontrolinterface.h \
src/layouthandler.h
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces/
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
-
+include(../interfaces/interfaces.pri)
FORMS += \
resources/mainwindow.ui \
diff --git a/HomeScreenAppFrameworkBinderAGL/HomeScreenAppFrameworkBinderAGL.pro b/HomeScreenAppFrameworkBinderAGL/HomeScreenAppFrameworkBinderAGL.pro
index 7117ee0..9a35c35 100644
--- a/HomeScreenAppFrameworkBinderAGL/HomeScreenAppFrameworkBinderAGL.pro
+++ b/HomeScreenAppFrameworkBinderAGL/HomeScreenAppFrameworkBinderAGL.pro
@@ -28,10 +28,7 @@ SOURCES += src/main.cpp \
HEADERS += \
src/homescreenappframeworkbinderagl.h
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces/
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
+include(../interfaces/interfaces.pri)
OTHER_FILES += \
README.md
diff --git a/HomeScreenSimulator/HomeScreenSimulator.pro b/HomeScreenSimulator/HomeScreenSimulator.pro
index 9550e69..9005a3f 100644
--- a/HomeScreenSimulator/HomeScreenSimulator.pro
+++ b/HomeScreenSimulator/HomeScreenSimulator.pro
@@ -27,10 +27,7 @@ SOURCES += \
HEADERS += \
src/mainwindow.h
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
+include(../interfaces/interfaces.pri)
FORMS += \
resources/mainwindow.ui
diff --git a/InputEventManager/InputEventManager.pro b/InputEventManager/InputEventManager.pro
index 421ad6e..2e620e3 100644
--- a/InputEventManager/InputEventManager.pro
+++ b/InputEventManager/InputEventManager.pro
@@ -28,10 +28,7 @@ SOURCES += src/main.cpp \
HEADERS += \
src/inputeventmanager.h
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces/
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
+include(../interfaces/interfaces.pri)
#contains(QT_ARCH, arm.*) {
# LIBS += -lpkgmgr-info
diff --git a/SampleAppTimeDate/SampleAppTimeDate.pro b/SampleAppTimeDate/SampleAppTimeDate.pro
index e2ec9e2..e41524e 100644
--- a/SampleAppTimeDate/SampleAppTimeDate.pro
+++ b/SampleAppTimeDate/SampleAppTimeDate.pro
@@ -28,10 +28,7 @@ SOURCES += src/main.cpp \
HEADERS += \
src/timedateprovider.hpp
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
+include(../interfaces/interfaces.pri)
OTHER_FILES += \
README.md
diff --git a/WindowManager/WindowManager.pro b/WindowManager/WindowManager.pro
index 58ce08a..63beb7b 100644
--- a/WindowManager/WindowManager.pro
+++ b/WindowManager/WindowManager.pro
@@ -26,10 +26,8 @@ SOURCES += src/main.cpp \
HEADERS += \
src/windowmanager.hpp
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces/
+include(../interfaces/interfaces.pri)
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
contains(QT_ARCH, arm.*) {
LIBS += -lilmControl -lilmCommon
}
diff --git a/interfaces/interfaces.pri b/interfaces/interfaces.pri
new file mode 100644
index 0000000..f05bbe4
--- /dev/null
+++ b/interfaces/interfaces.pri
@@ -0,0 +1,3 @@
+INCLUDEPATH += $$PWD $$OUT_PWD/../interfaces/
+
+LIBS += -L$$OUT_PWD/../interfaces/ -linterfaces