llvm-project/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt

36 lines
626 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_library(clangTidyHICPPModule
ExceptionBaseclassCheck.cpp
HICPPTidyModule.cpp
MultiwayPathsCoveredCheck.cpp
NoAssemblerCheck.cpp
SignedBitwiseCheck.cpp
LINK_LIBS
clangTidy
clangTidyBugproneModule
clangTidyCppCoreGuidelinesModule
clangTidyGoogleModule
clangTidyMiscModule
clangTidyModernizeModule
clangTidyPerformanceModule
clangTidyReadabilityModule
clangTidyUtils
DEPENDS
omp_gen
)
clang_target_link_libraries(clangTidyHICPPModule
PRIVATE
clangAST
clangASTMatchers
clangBasic
clangLex
clangSerialization
)