forked from OSchip/llvm-project
17 lines
367 B
CMake
17 lines
367 B
CMake
set(LLVM_LINK_COMPONENTS support)
|
|
set(LLVM_USED_LIBS clangFormat clangTooling clangBasic clangAST)
|
|
|
|
add_clang_executable(clang-format
|
|
ClangFormat.cpp
|
|
)
|
|
|
|
target_link_libraries(clang-format
|
|
clangFormat
|
|
clangTooling
|
|
clangBasic
|
|
clangRewriteFrontend
|
|
)
|
|
|
|
install(TARGETS clang-format RUNTIME DESTINATION bin)
|
|
install(PROGRAMS git-clang-format DESTINATION bin)
|