diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-09-13 14:18:27 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-09-13 13:25:36 +0000 |
commit | 5b454c95fc2fc3f107280b59e5bf26d9038a65c2 (patch) | |
tree | af2fda7d029f9be32d8c0f711a939bd8221f8aae /src/plugins/clangpchmanager/clangpchmanager.pro | |
parent | 2c4dadccb623147a14b498a02290e6275d4d0bc2 (diff) |
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>
Diffstat (limited to 'src/plugins/clangpchmanager/clangpchmanager.pro')
-rw-r--r-- | src/plugins/clangpchmanager/clangpchmanager.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/clangpchmanager/clangpchmanager.pro b/src/plugins/clangpchmanager/clangpchmanager.pro index a61103d8396..204f740a28c 100644 --- a/src/plugins/clangpchmanager/clangpchmanager.pro +++ b/src/plugins/clangpchmanager/clangpchmanager.pro @@ -5,6 +5,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 += \ $$PWD/clangpchmanagerplugin.h \ qtcreatorprojectupdater.h |