From f0f8b35e3725b52fba017551837fefe98ebfe63f Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 22 Apr 2017 14:22:28 +0200 Subject: clazy fixes --- smolbote.qbs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'smolbote.qbs') 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" -- cgit v1.2.1