add_clang_executable(clangd
  ASTManager.cpp
  ClangDMain.cpp
  JSONRPCDispatcher.cpp
  Protocol.cpp
  ProtocolHandlers.cpp
  )

target_link_libraries(clangd
  clangBasic
  clangFormat
  clangFrontend
  clangTooling
  LLVMSupport
  )

add_clang_executable(clangd
  ASTManager.cpp
  ClangDMain.cpp
  JSONRPCDispatcher.cpp
  Protocol.cpp
  ProtocolHandlers.cpp
  )

install(TARGETS clangd RUNTIME DESTINATION bin)

target_link_libraries(clangd
  clangBasic
  clangFormat
  clangFrontend
  clangTooling
  LLVMSupport
  )

Make clangd install to bin
[clangd] Make clangd install to bin

This allows the install target to also install clangd to bin, so that
it can be deployed and used outside the build tree.

Patch by Marc-Andre Laperle!
Differential Revision: https://reviews.llvm.org/D30425

git-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@296390 91177308-0d34-0410-b5e6-96231b3b80d8
