forked from OSchip/llvm-project
36 lines
724 B
CMake
36 lines
724 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
support
|
|
)
|
|
|
|
add_clang_executable(clang-tidy
|
|
ClangTidyMain.cpp
|
|
)
|
|
add_dependencies(clang-tidy
|
|
clang-headers
|
|
)
|
|
target_link_libraries(clang-tidy
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangTidy
|
|
clangTidyBoostModule
|
|
clangTidyCERTModule
|
|
clangTidyCppCoreGuidelinesModule
|
|
clangTidyGoogleModule
|
|
clangTidyHICPPModule
|
|
clangTidyLLVMModule
|
|
clangTidyMiscModule
|
|
clangTidyModernizeModule
|
|
clangTidyMPIModule
|
|
clangTidyPerformanceModule
|
|
clangTidyReadabilityModule
|
|
clangTooling
|
|
clangToolingCore
|
|
)
|
|
|
|
install(TARGETS clang-tidy
|
|
RUNTIME DESTINATION bin)
|
|
|
|
install(PROGRAMS clang-tidy-diff.py DESTINATION share/clang)
|
|
install(PROGRAMS run-clang-tidy.py DESTINATION share/clang)
|