You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/09/08 09:44:20 UTC

[GitHub] [incubator-brpc] kungf opened a new issue #1232: 怎么把对brpc的依赖加入到项目的cmakefile里

kungf opened a new issue #1232:
URL: https://github.com/apache/incubator-brpc/issues/1232


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   一个项目依赖brpc,从examples里的使用上看,都是先clone brpc,然后编译安装,再去编译本地项目,
   怎么把brpc加到本地项目的cmakefile里,这样在编译本地项目的时候,自动去拉取brpc,然后编译使用,
   有没有例子可以介绍下
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   类似grpc提供的方法:
   
   > include(FetchContent)
   FetchContent_Declare(
     gRPC
     GIT_REPOSITORY https://github.com/grpc/grpc
     GIT_TAG        v1.30.2
     )
   set(FETCHCONTENT_QUIET OFF)
   FetchContent_MakeAvailable(gRPC)
   
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] kungf closed issue #1232: 怎么把对brpc的依赖加入到项目的cmakefile里

Posted by GitBox <gi...@apache.org>.
kungf closed issue #1232:
URL: https://github.com/apache/incubator-brpc/issues/1232


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org