summaryrefslogtreecommitdiff
path: root/src/plugins/clangformat
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-06-26 15:10:07 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-07-05 12:46:27 +0000
commit49525c578cbc3b42bd753cf0197dd4f440be47f8 (patch)
treeb1b6e651d48365ff80617c7085a5a362010ba699 /src/plugins/clangformat
parent9703f2e948183aa83c5dbd614bcb087ff134aa42 (diff)
downloadqt-creator-49525c578cbc3b42bd753cf0197dd4f440be47f8.tar.gz
Unify disabling build of llvm related plugins or test on Windows
If libclang's build mode mismatches the current build mode of Qt Creator some plugins are automatically disabled. Do the same for the unittest and unify the way to do this. Change-Id: Ib4cd6494ed63cb89ed8d99b3c0ba23a19572fc9b Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/clangformat')
-rw-r--r--src/plugins/clangformat/clangformat.pro5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/clangformat/clangformat.pro b/src/plugins/clangformat/clangformat.pro
index e1ccdb98dc..4d751db2ba 100644
--- a/src/plugins/clangformat/clangformat.pro
+++ b/src/plugins/clangformat/clangformat.pro
@@ -6,11 +6,6 @@ include(../../shared/clang/clang_defines.pri)
requires(!isEmpty(CLANGFORMAT_LIBS))
-win32 {
- LLVM_BUILDMODE = $$system($$llvm_config --build-mode, lines)
- CONFIG(debug, debug|release):requires(equals(LLVM_BUILDMODE, "Debug"))
-}
-
LIBS += $$CLANGFORMAT_LIBS
INCLUDEPATH += $$LLVM_INCLUDEPATH