forked from OSchip/llvm-project
31 lines
495 B
CMake
31 lines
495 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
FrontendOpenMP
|
|
Support
|
|
)
|
|
|
|
add_clang_library(clangTidyLLVMModule
|
|
HeaderGuardCheck.cpp
|
|
IncludeOrderCheck.cpp
|
|
LLVMTidyModule.cpp
|
|
PreferIsaOrDynCastInConditionalsCheck.cpp
|
|
PreferRegisterOverUnsignedCheck.cpp
|
|
TwineLocalCheck.cpp
|
|
|
|
LINK_LIBS
|
|
clangTidy
|
|
clangTidyReadabilityModule
|
|
clangTidyUtils
|
|
|
|
DEPENDS
|
|
omp_gen
|
|
)
|
|
|
|
clang_target_link_libraries(clangTidyLLVMModule
|
|
PRIVATE
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangLex
|
|
clangTooling
|
|
)
|