aboutsummaryrefslogtreecommitdiffstats
path: root/qbs
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-06-20 10:18:50 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-06-27 06:57:19 +0000
commit9a4f0317c13170d6a89f12221643f6c945e8a254 (patch)
treeedb10be0672fae8d75a8b3af23055e27b576ce50 /qbs
parent282cd8806364abb48c316204dd8f019783f27f44 (diff)
Clang: only build with LibTooling if explicitly enabled
The feature is experimental and should not be used, yet. Change-Id: Ifb9a651dcbaade5801ac28f900030407f12dc844 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r--qbs/modules/libclang/libclang.qbs4
1 files changed, 1 insertions, 3 deletions
diff --git a/qbs/modules/libclang/libclang.qbs b/qbs/modules/libclang/libclang.qbs
index bb427bc4f8..b13ba888ff 100644
--- a/qbs/modules/libclang/libclang.qbs
+++ b/qbs/modules/libclang/libclang.qbs
@@ -55,9 +55,7 @@ Module {
return incl != llvmIncludeDir;
})
property stringList llvmToolingCxxFlags: clangProbe.llvmToolingCxxFlags
- property bool toolingEnabled: !Environment.getEnv("QTC_NO_CLANG_LIBTOOLING")
- && Utilities.versionCompare(llvmVersion, "6") > 0
- && Utilities.versionCompare(llvmVersion, "7") < 0
+ property bool toolingEnabled: Environment.getEnv("QTC_ENABLE_CLANG_LIBTOOLING")
validate: {
if (!clangProbe.found) {