forked from OSchip/llvm-project
24 lines
358 B
CMake
24 lines
358 B
CMake
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)
|