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

27 lines
380 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_library(clangTidyDarwinModule
AvoidSpinlockCheck.cpp
DarwinTidyModule.cpp
DispatchOnceNonstaticCheck.cpp
LINK_LIBS
clangTidy
clangTidyUtils
DEPENDS
omp_gen
)
clang_target_link_libraries(clangTidyDarwinModule
PRIVATE
clangAnalysis
clangAST
clangASTMatchers
clangBasic
clangLex
)