llvm-project/clang/tools/clang-check/CMakeLists.txt

23 lines
344 B
CMake

set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Option
Support
)
add_clang_tool(clang-check
ClangCheck.cpp
)
clang_target_link_libraries(clang-check
PRIVATE
clangAST
clangBasic
clangDriver
clangFrontend
clangRewriteFrontend
clangSerialization
clangStaticAnalyzerFrontend
clangTooling
clangToolingSyntax
)