{"id":20168306,"url":"https://github.com/ivansafonov/grpc-cmake-example","last_synced_at":"2025-07-12T04:41:11.175Z","repository":{"id":43774196,"uuid":"80914647","full_name":"IvanSafonov/grpc-cmake-example","owner":"IvanSafonov","description":"gRPC C++ example with CMake","archived":false,"fork":false,"pushed_at":"2019-01-16T17:21:48.000Z","size":13,"stargazers_count":193,"open_issues_count":1,"forks_count":51,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T04:51:34.409Z","etag":null,"topics":["c-plus-plus","cmake","grpc","protobuf"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IvanSafonov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-04T11:21:02.000Z","updated_at":"2025-02-21T22:13:02.000Z","dependencies_parsed_at":"2022-09-24T18:06:50.708Z","dependency_job_id":null,"html_url":"https://github.com/IvanSafonov/grpc-cmake-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IvanSafonov/grpc-cmake-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fgrpc-cmake-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fgrpc-cmake-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fgrpc-cmake-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fgrpc-cmake-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IvanSafonov","download_url":"https://codeload.github.com/IvanSafonov/grpc-cmake-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IvanSafonov%2Fgrpc-cmake-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264939878,"owners_count":23686223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","cmake","grpc","protobuf"],"created_at":"2024-11-14T01:07:15.800Z","updated_at":"2025-07-12T04:41:10.967Z","avatar_url":"https://github.com/IvanSafonov.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tested on Ubuntu 18.04 LTS\n\n## How to build\n\n* Install [Protocol Buffers](https://github.com/google/protobuf/blob/master/src/README.md) and [gRPC](https://github.com/grpc/grpc/tree/master/src/cpp)\n  ```bash\n  # On ubuntu 18.04\n  sudo apt-get install build-essential autoconf libtool pkg-config automake curl\n    \n  git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc\n  cd grpc\n  git submodule update --init\n   \n  # Build and install protobuf\n  cd ./third_party/protobuf\n  ./autogen.sh\n  ./configure --prefix=/opt/protobuf\n  make -j `nproc`\n  sudo make install\n    \n  # Build and install gRPC\n  cd ../..\n  make -j `nproc` PROTOC=/opt/protobuf/bin/protoc \n  sudo make prefix=/opt/grpc install\n\n  ```\n* Change CMAKE_PREFIX_PATH variable in CMakeFiles.txt[7] according to your install prefixes\n* And build it\n```bash\n  mkdir build\n  cd build\n  cmake ..\n  make\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivansafonov%2Fgrpc-cmake-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivansafonov%2Fgrpc-cmake-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivansafonov%2Fgrpc-cmake-example/lists"}