[PATCH] D77794: [clangd] Pull installed gRPC and introduce clangd-remote-(server|client)

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 08:33:14 PDT 2020


kbobyrev added inline comments.


================
Comment at: clang-tools-extra/clangd/index/remote/CMakeLists.txt:19
+add_library(gRPCProtos ${Index_proto_source} ${Index_grpc_header} ${Index_grpc_source} ${Index_grpc_header})
+target_link_libraries(gRPCProtos gRPC::grpc++ protobuf::libprotobuf)
+
----------------
sammccall wrote:
> sorry, what I meant by "less weird names" was can we call these libraries `grpc++` instead of `gRPC::grpc++` and `protobuf` instead of `protobuf::libprotobuf`?
> Those thare the names that the libraries are installed as on my system at least...
I'm afraid those are going to be called differently depending on how they are imported. I've changed it to `PROTOBUF_LIBRARY` and `GRPC_LIBRARY`, is that OK?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77794/new/

https://reviews.llvm.org/D77794





More information about the cfe-commits mailing list