[clang-tools-extra] Prevent linking to duplicate .a libs and dylib
[lldb.git] / clang-tools-extra / clang-tidy / google / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
5
6 add_clang_library(clangTidyGoogleModule
7   AvoidCStyleCastsCheck.cpp
8   AvoidNSObjectNewCheck.cpp
9   AvoidThrowingObjCExceptionCheck.cpp
10   AvoidUnderscoreInGoogletestNameCheck.cpp
11   DefaultArgumentsCheck.cpp
12   ExplicitConstructorCheck.cpp
13   ExplicitMakePairCheck.cpp
14   FunctionNamingCheck.cpp
15   GlobalNamesInHeadersCheck.cpp
16   GlobalVariableDeclarationCheck.cpp
17   GoogleTidyModule.cpp
18   IntegerTypesCheck.cpp
19   NonConstReferences.cpp
20   OverloadedUnaryAndCheck.cpp
21   TodoCommentCheck.cpp
22   UnnamedNamespaceInHeaderCheck.cpp
23   UpgradeGoogletestCaseCheck.cpp
24   UsingNamespaceDirectiveCheck.cpp
25
26   LINK_LIBS
27   clangTidy
28   clangTidyReadabilityModule
29   clangTidyUtils
30   )
31
32 clang_target_link_libraries(clangTidyGoogleModule
33   PRIVATE
34   clangAST
35   clangASTMatchers
36   clangBasic
37   clangLex
38   )