forked from OSchip/llvm-project
23 lines
436 B
CMake
23 lines
436 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
support
|
|
)
|
|
|
|
get_filename_component(CLANG_LINT_SOURCE_DIR
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../clang-tidy REALPATH)
|
|
include_directories(${CLANG_LINT_SOURCE_DIR})
|
|
|
|
add_extra_unittest(ClangTidyTests
|
|
LLVMModuleTest.cpp
|
|
GoogleModuleTest.cpp)
|
|
|
|
target_link_libraries(ClangTidyTests
|
|
gtest
|
|
gtest_main
|
|
clangTidy
|
|
clangTidyLLVMModule
|
|
clangTidyGoogleModule
|
|
clangTooling
|
|
clangBasic
|
|
clangASTMatchers
|
|
)
|