From 39fdeed141598d9365f5f2a42baf3639d60bdc0b Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Thu, 20 Sep 2018 18:55:33 +0200 Subject: [PATCH] Made plugin checkout optional --- plugins/plugins.pro | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/plugins/plugins.pro b/plugins/plugins.pro index 5f86cb2..0943e41 100644 --- a/plugins/plugins.pro +++ b/plugins/plugins.pro @@ -1,16 +1,18 @@ TEMPLATE = subdirs -SUBDIRS += absenceplugin \ - advancedviewplugin \ - devtoolsplugin \ - lunchmealplugin \ - profileplugin \ - presenceplugin \ - reportsplugin \ - sketchplugin \ - updaterplugin \ - weatherplugin -qtHaveModule(multimedia): SUBDIRS += webradioplugin -else: message("multimedia is missing, will not build webradioplugin") +exists(absenceplugin/absenceplugin.pro): SUBDIRS += absenceplugin +exists(advancedviewplugin/advancedviewplugin.pro): SUBDIRS += advancedviewplugin +exists(devtoolsplugin/devtoolsplugin.pro): SUBDIRS += devtoolsplugin +exists(lunchmealplugin/lunchmealplugin.pro): SUBDIRS += lunchmealplugin +exists(profileplugin/profileplugin.pro): SUBDIRS += profileplugin +exists(presenceplugin/presenceplugin.pro): SUBDIRS += presenceplugin +exists(reportsplugin/reportsplugin.pro): SUBDIRS += reportsplugin +exists(sketchplugin/sketchplugin.pro): SUBDIRS += sketchplugin +exists(updaterplugin/updaterplugin.pro): SUBDIRS += updaterplugin +exists(weatherplugin/weatherplugin.pro): SUBDIRS += weatherplugin +exists(webradioplugin/webradioplugin.pro): { + qtHaveModule(multimedia): SUBDIRS += webradioplugin + else: message("multimedia is missing, will not build webradioplugin") +} OTHER_FILES += plugin.pri