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

22 lines
326 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
asmparser
bitreader
support
mc
)
add_clang_executable(clang-check
ClangCheck.cpp
)
target_link_libraries(clang-check
clangTooling
clangBasic
clangRewriteFrontend
clangStaticAnalyzerFrontend
)
install(TARGETS clang-check
RUNTIME DESTINATION bin)