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

25 lines
346 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_library(clangTidyLinuxKernelModule
LinuxKernelTidyModule.cpp
MustCheckErrsCheck.cpp
LINK_LIBS
clangTidy
clangTidyUtils
DEPENDS
omp_gen
)
clang_target_link_libraries(clangTidyLinuxKernelModule
PRIVATE
clangAST
clangASTMatchers
clangBasic
clangLex
)