aboutsummaryrefslogtreecommitdiff
path: root/smolbote.qbs
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-04-22 14:22:28 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-04-22 14:22:28 +0200
commitf0f8b35e3725b52fba017551837fefe98ebfe63f (patch)
tree82c3182bda9fed9fff7410340792f3b7eca0d4bf /smolbote.qbs
parentUpdated documentation (diff)
downloadsmolbote-f0f8b35e3725b52fba017551837fefe98ebfe63f.tar.xz
clazy fixes
Diffstat (limited to 'smolbote.qbs')
-rw-r--r--smolbote.qbs7
1 files changed, 6 insertions, 1 deletions
diff --git a/smolbote.qbs b/smolbote.qbs
index f3b5ee6..a538766 100644
--- a/smolbote.qbs
+++ b/smolbote.qbs
@@ -37,6 +37,11 @@ Project {
}
}
+ // enable clazy if using clang
+ Properties {
+ condition: cpp.compilerName.contains("clang")
+ cpp.cxxFlags: ["-Xclang", "-load", "-Xclang", "ClangLazy.so", "-Xclang", "-add-plugin", "-Xclang", "clang-lazy"]
+ }
// global includes
cpp.includePaths: ['src', 'src/3rd-party']
// global defines
@@ -163,7 +168,7 @@ Project {
Group {
name: "Configuration"
files: [
- "data/poi.conf"
+ "data/poi.toml"
]
qbs.install: true
qbs.installDir: "share/smolbote"