2013-07-29 16:19:24 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
support
|
|
|
|
)
|
|
|
|
|
|
|
|
add_clang_executable(clang-tidy
|
|
|
|
ClangTidyMain.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries(clang-tidy
|
2013-12-10 09:41:10 +08:00
|
|
|
clangAST
|
|
|
|
clangASTMatchers
|
2015-03-13 11:47:43 +08:00
|
|
|
clangBasic
|
2013-07-29 16:19:24 +08:00
|
|
|
clangTidy
|
2013-08-04 23:56:30 +08:00
|
|
|
clangTidyGoogleModule
|
2013-12-10 09:41:10 +08:00
|
|
|
clangTidyLLVMModule
|
2014-03-05 21:14:32 +08:00
|
|
|
clangTidyMiscModule
|
2015-08-14 21:17:11 +08:00
|
|
|
clangTidyModernizeModule
|
2014-10-26 09:41:14 +08:00
|
|
|
clangTidyReadabilityModule
|
2013-12-10 09:41:10 +08:00
|
|
|
clangTooling
|
2013-07-29 16:19:24 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS clang-tidy
|
|
|
|
RUNTIME DESTINATION bin)
|
|
|
|
|