[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / utils / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyUtils
7   ASTUtils.cpp
8   DeclRefExprUtils.cpp
9   ExceptionAnalyzer.cpp
10   ExprSequence.cpp
11   FileExtensionsUtils.cpp
12   FixItHintUtils.cpp
13   HeaderGuard.cpp
14   IncludeInserter.cpp
15   IncludeSorter.cpp
16   LexerUtils.cpp
17   NamespaceAliaser.cpp
18   OptionsUtils.cpp
19   RenamerClangTidyCheck.cpp
20   TransformerClangTidyCheck.cpp
21   TypeTraits.cpp
22   UsingInserter.cpp
23
24   LINK_LIBS
25   clangTidy
26   )
27
28 clang_target_link_libraries(clangTidyUtils
29   PRIVATE
30   clangAST
31   clangASTMatchers
32   clangBasic
33   clangLex
34   clangSema
35   clangTransformer
36   )