forked from qt-creator/qt-creator
Clang: Fix build with LibTooling
Do not build plugins when the tools part is not built. Change-Id: I3325707fe6446364f07a9ad5e5e039fc9fb6437d Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -6,6 +6,11 @@ include(../../shared/clang/clang_defines.pri)
|
||||
|
||||
requires(!isEmpty(LIBTOOLING_LIBS))
|
||||
|
||||
win32 {
|
||||
LLVM_BUILDMODE = $$system($$llvm_config --build-mode, lines)
|
||||
CONFIG(debug, debug|release):requires(equals(LLVM_BUILDMODE, "Debug"))
|
||||
}
|
||||
|
||||
HEADERS += \
|
||||
clangrefactoringplugin.h \
|
||||
baseclangquerytexteditorwidget.h \
|
||||
|
||||
Reference in New Issue
Block a user