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

24 lines
385 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
asmparser
bitreader
support
mc
)
add_clang_library(clangTidy
ClangTidy.cpp
ClangTidyModule.cpp
)
target_link_libraries(clangTidy
clangTooling
clangBasic
clangRewriteFrontend
clangStaticAnalyzerFrontend
clangStaticAnalyzerCheckers
)
add_subdirectory(tool)
add_subdirectory(llvm)
add_subdirectory(google)