summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-03-27 12:28:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-27 05:18:32 +0200
commitd5fbd8c4a7e9aa19d5b71c02208c242754b84bdc (patch)
treef60248a7564979f37ad347ae4d056ab016f94214
parentdfc746b0bf8baaedc580e72f9897814ef9f4c560 (diff)
Allow easy building of platform-specific middleware.qt-v5.0.0-alpha1
This is a convenience for adding platform-specific middleware to a build. Set MIDDLEWARE to the name of the folder and it will be added to the build automatically. Change-Id: Ibd5a2b7d2abf652d7b35f95bdc8d53a0b28b567e Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
-rw-r--r--qtsensors.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/qtsensors.pro b/qtsensors.pro
index ab376ee1..bdbe7920 100644
--- a/qtsensors.pro
+++ b/qtsensors.pro
@@ -28,3 +28,10 @@ module_qtsensors_snippets.depends = module_qtsensors_src
include(doc/config/qtsensors_doc.pri)
+!isEmpty(MIDDLEWARE):exists($$MIDDLEWARE/$$MIDDLEWARE.pro) {
+ SUBDIRS += module_qtsensors_middleware
+ module_qtsensors_middleware.subdir = $$MIDDLEWARE
+ module_qtsensors_middleware.target = module-qtsensors-middleware
+ module_qtsensors_middleware.depends = module_qtsensors_src
+}
+