diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-03-27 12:28:26 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 05:18:32 +0200 |
commit | d5fbd8c4a7e9aa19d5b71c02208c242754b84bdc (patch) | |
tree | f60248a7564979f37ad347ae4d056ab016f94214 | |
parent | dfc746b0bf8baaedc580e72f9897814ef9f4c560 (diff) | |
download | qtsensors-d5fbd8c4a7e9aa19d5b71c02208c242754b84bdc.tar.gz |
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.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qtsensors.pro b/qtsensors.pro index ab376ee..bdbe792 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 +} + |