[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-include-fixer / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   support
3   )
4
5 add_clang_library(clangIncludeFixer
6   IncludeFixer.cpp
7   IncludeFixerContext.cpp
8   InMemorySymbolIndex.cpp
9   FuzzySymbolIndex.cpp
10   SymbolIndexManager.cpp
11   YamlSymbolIndex.cpp
12
13   LINK_LIBS
14   findAllSymbols
15   )
16
17 clang_target_link_libraries(clangIncludeFixer
18   PRIVATE
19   clangAST
20   clangBasic
21   clangFormat
22   clangFrontend
23   clangLex
24   clangParse
25   clangSema
26   clangSerialization
27   clangTooling
28   clangToolingCore
29   )
30
31 add_subdirectory(plugin)
32 add_subdirectory(tool)
33 add_subdirectory(find-all-symbols)