From 89e70ca785df08b448997927d7c28145f599857f Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Wed, 13 Mar 2019 14:37:04 +0100 Subject: Enable Clang Refactoring compiling We change QTC_ENABLE_CLANG_LIBTOOLING to QTC_DISABLE_CLANG_REFACTORING, so you now have to opt out instead of opt in. We bump the minimum version of LLVM to 7.0 too because we mentioned that in the README already. Change-Id: Ic4ee29a74a3ed79634ed8ea50be84d7bdc7db4ef Reviewed-by: Ivan Donchevskii --- src/plugins/plugins.pro | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/plugins/plugins.pro') diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro index 437f9d58ee4..dab57ff8555 100644 --- a/src/plugins/plugins.pro +++ b/src/plugins/plugins.pro @@ -110,12 +110,10 @@ exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \ SUBDIRS += \ clangcodemodel -QTC_ENABLE_CLANG_LIBTOOLING=$$(QTC_ENABLE_CLANG_LIBTOOLING) -!isEmpty(QTC_ENABLE_CLANG_LIBTOOLING) { +QTC_DISABLE_CLANG_REFACTORING=$$(QTC_DISABLE_CLANG_REFACTORING) +isEmpty(QTC_DISABLE_CLANG_REFACTORING) { SUBDIRS += clangrefactoring SUBDIRS += clangpchmanager -} else { - warning("Not building the clang refactoring plugin and the pch manager plugin.") } isEmpty(IDE_PACKAGE_MODE) { -- cgit v1.2.3