forked from qt-creator/qt-creator
ClangCodeModel: Restrict QtSupport dependency to tests
Amends 6dc3c1f156
Change-Id: Ib907ad9d8922a7fc999659135632f386de346ecb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
set(TEST_LINK_DEPENDS)
|
||||
if(WITH_TESTS)
|
||||
set(TEST_LINK_DEPENDS QtSupport)
|
||||
endif()
|
||||
|
||||
add_qtc_plugin(ClangCodeModel
|
||||
CONDITION TARGET libclang
|
||||
DEPENDS ClangSupport CPlusPlus
|
||||
PLUGIN_DEPENDS Core CppTools LanguageClient QtSupport TextEditor
|
||||
PLUGIN_DEPENDS Core CppTools LanguageClient ${TEST_LINK_DEPENDS} TextEditor
|
||||
PLUGIN_TEST_DEPENDS CppEditor QmakeProjectManager
|
||||
SOURCES
|
||||
clangactivationsequencecontextprocessor.cpp clangactivationsequencecontextprocessor.h
|
||||
|
||||
Reference in New Issue
Block a user