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

25 lines
385 B
CMake

set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Option
Support
)
add_clang_executable(clang-check
ClangCheck.cpp
)
clang_target_link_libraries(clang-check
PRIVATE
clangAST
clangBasic
clangDriver
clangFrontend
clangRewriteFrontend
clangSerialization
clangStaticAnalyzerFrontend
clangTooling
)
install(TARGETS clang-check
RUNTIME DESTINATION bin)