[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / hicpp / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyHICPPModule
7   ExceptionBaseclassCheck.cpp
8   HICPPTidyModule.cpp
9   MultiwayPathsCoveredCheck.cpp
10   NoAssemblerCheck.cpp
11   SignedBitwiseCheck.cpp
12
13   LINK_LIBS
14   clangTidy
15   clangTidyBugproneModule
16   clangTidyCppCoreGuidelinesModule
17   clangTidyGoogleModule
18   clangTidyMiscModule
19   clangTidyModernizeModule
20   clangTidyPerformanceModule
21   clangTidyReadabilityModule
22   clangTidyUtils
23   )
24
25 clang_target_link_libraries(clangTidyHICPPModule
26   PRIVATE
27   clangAST
28   clangASTMatchers
29   clangBasic
30   clangLex
31   clangSerialization
32   )