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

29 lines
405 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_library(clangTidyMPIModule
BufferDerefCheck.cpp
MPITidyModule.cpp
TypeMismatchCheck.cpp
LINK_LIBS
clangTidy
clangTidyUtils
DEPENDS
omp_gen
)
clang_target_link_libraries(clangTidyMPIModule
PRIVATE
clangAnalysis
clangAST
clangASTMatchers
clangBasic
clangLex
clangTooling
clangStaticAnalyzerCheckers
)