1 set( LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 Option 4 Support 5 ) 6 7 add_clang_executable(clang-check 8 ClangCheck.cpp 9 ) 10 11 target_link_libraries(clang-check 12 clangAST 13 clangBasic 14 clangDriver 15 clangFrontend 16 clangRewriteFrontend 17 clangStaticAnalyzerFrontend 18 clangTooling 19 ) 20 21 install(TARGETS clang-check 22 RUNTIME DESTINATION bin) 23