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)


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)

Install git-clang-format along with clang-format by default.
Install git-clang-format along with clang-format by default.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@186825 91177308-0d34-0410-b5e6-96231b3b80d8
