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