forked from OSchip/llvm-project
24 lines
383 B
CMake
24 lines
383 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
support
|
|
)
|
|
|
|
add_clang_executable(clang-tidy
|
|
ClangTidyMain.cpp
|
|
)
|
|
target_link_libraries(clang-tidy
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangTidy
|
|
clangTidyGoogleModule
|
|
clangTidyLLVMModule
|
|
clangTidyMiscModule
|
|
clangTidyModernizeModule
|
|
clangTidyReadabilityModule
|
|
clangTooling
|
|
)
|
|
|
|
install(TARGETS clang-tidy
|
|
RUNTIME DESTINATION bin)
|
|
|