forked from qt-creator/qt-creator
Clang: Temporary workaround for VS 2015 Update 2
We disable older Visual Studio compilers because they have bugs. This patch has to be reverted after we go to VS 2015 Update 3. Change-Id: I2c6eecab993282b24003ceb99a991a72502057f6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -77,12 +77,15 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
|
|||||||
exists($$LLVM_INSTALL_DIR) {
|
exists($$LLVM_INSTALL_DIR) {
|
||||||
SUBDIRS += clangcodemodel
|
SUBDIRS += clangcodemodel
|
||||||
|
|
||||||
|
win32-msvc*:equals(QT_CL_MAJOR_VERSION, 19):equals(QT_CL_MINOR_VERSION, 00): \
|
||||||
|
greaterThan(QT_CL_PATCH_VERSION, 24209) {
|
||||||
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
|
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
|
||||||
isEmpty($$QTC_NO_CLANG_LIBTOOLING) {
|
isEmpty($$QTC_NO_CLANG_LIBTOOLING) {
|
||||||
SUBDIRS += clangrefactoring
|
SUBDIRS += clangrefactoring
|
||||||
} else {
|
} else {
|
||||||
warning("Building the Clang refactoring plugin is disabled.")
|
warning("Building the Clang refactoring plugin is disabled.")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
warning("Set LLVM_INSTALL_DIR to build the Clang Code Model. " \
|
warning("Set LLVM_INSTALL_DIR to build the Clang Code Model. " \
|
||||||
"For details, see doc/src/editors/creator-clang-codemodel.qdoc.")
|
"For details, see doc/src/editors/creator-clang-codemodel.qdoc.")
|
||||||
|
@@ -22,12 +22,15 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
|
|||||||
exists($$LLVM_INSTALL_DIR) {
|
exists($$LLVM_INSTALL_DIR) {
|
||||||
SUBDIRS += clangbackend
|
SUBDIRS += clangbackend
|
||||||
|
|
||||||
|
win32-msvc*:equals(QT_CL_MAJOR_VERSION, 19):equals(QT_CL_MINOR_VERSION, 00): \
|
||||||
|
greaterThan(QT_CL_PATCH_VERSION, 24209) {
|
||||||
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
|
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
|
||||||
!isEmpty($$QTC_NO_CLANG_LIBTOOLING) {
|
!isEmpty($$QTC_NO_CLANG_LIBTOOLING) {
|
||||||
SUBDIRS += clangrefactoringbackend
|
SUBDIRS += clangrefactoringbackend
|
||||||
} else {
|
} else {
|
||||||
warning("Building the Clang refactoring back end is disabled.")
|
warning("Building the Clang refactoring back end is disabled.")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty(BUILD_CPLUSPLUS_TOOLS):BUILD_CPLUSPLUS_TOOLS=$$(BUILD_CPLUSPLUS_TOOLS)
|
isEmpty(BUILD_CPLUSPLUS_TOOLS):BUILD_CPLUSPLUS_TOOLS=$$(BUILD_CPLUSPLUS_TOOLS)
|
||||||
|
Reference in New Issue
Block a user