diff options
Diffstat (limited to 'smolbote.qbs')
-rw-r--r-- | smolbote.qbs | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/smolbote.qbs b/smolbote.qbs index 7e7c61b..236c6da 100644 --- a/smolbote.qbs +++ b/smolbote.qbs @@ -99,25 +99,37 @@ Project { ] } + Group { + name: "Request Filter" + files: [ + "src/blocker/blockermanager.cpp", + "src/blocker/blockermanager.h", + "src/blocker/blockerrule.cpp", + "src/blocker/blockerrule.h", + "src/blocker/blockersubscription.cpp", + "src/blocker/blockersubscription.h", + "src/blocker/regexp.cpp", + "src/blocker/regexp.h", + "src/blocker/subscriptiondialog.ui", + "src/blocker/subscriptionform.ui", + "src/webengine/urlinterceptor.cpp", + "src/webengine/urlinterceptor.h", + ] + cpp.defines: { + if(project.deprecatedWarnings) + defines.push("QT_DEPRECATED_WARNINGS", "QT_DISABLE_DEPRECATED_BEFORE="+project.deprecatedBefore); + defines.push("DEBUG_VERBOSE") + return defines; + } + } + files: [ "data/resources.qrc", - "src/blocker/blockermanager.cpp", - "src/blocker/blockermanager.h", - "src/blocker/blockerrule.cpp", - "src/blocker/blockerrule.h", - "src/blocker/blockersubscription.cpp", - "src/blocker/blockersubscription.h", - "src/blocker/regexp.cpp", - "src/blocker/regexp.h", - "src/blocker/subscriptiondialog.ui", - "src/blocker/subscriptionform.ui", "src/forms/profiledialog.cpp", "src/forms/profiledialog.h", "src/forms/profiledialog.ui", "src/settings.cpp", "src/settings.h", - "src/webengine/urlinterceptor.cpp", - "src/webengine/urlinterceptor.h", "src/webengine/webengineprofile.cpp", "src/webengine/webengineprofile.h", "src/webengine/webview.cpp", |