Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: third_party/grpc/src/cpp/README.md

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1
2 #Overview
3
4 This directory contains source code for C++ implementation of gRPC.
5
6 #Status
7
8 Beta
9
10 #Pre-requisites
11
12 ##Linux
13
14 ```sh
15 $ [sudo] apt-get install build-essential autoconf libtool
16 ```
17
18 ##Mac OSX
19
20 For a Mac system, git is not available by default. You will first need to
21 install Xcode from the Mac AppStore and then run the following command from a
22 terminal:
23
24 ```sh
25 $ [sudo] xcode-select --install
26 ```
27
28 ##Protoc
29
30 By default gRPC uses [protocol buffers](https://github.com/google/protobuf),
31 you will need the `protoc` compiler to generate stub server and client code.
32
33 If you compile gRPC from source, as described below, this also installs the
34 `protoc` compiler.
35
36 If it hasn't been installed, you can run the following commands to install it.
37
38 ```sh
39 $ cd grpc/third_party/protobuf
40 $ sudo make install # 'make' should have been run by core grpc
41 ```
42
43 Alternatively, you can download `protoc` binaries from
44 [the protocol buffers Github repository](https://github.com/google/protobuf/rele ases).
45
46 #Installation
47
48 Currently to install gRPC for C++, you need to build from source as described
49 below.
50
51 #Build from Source
52
53 ```sh
54 $ git clone https://github.com/grpc/grpc.git
55 $ cd grpc
56 $ git submodule update --init
57 $ make
58 $ [sudo] make install
59 ```
60
61 #Documentation
62
63 You can find out how to build and run our simplest gRPC C++ example in our
64 [C++ quick start](https://github.com/grpc/grpc/tree/{{ site.data.config.grpc_rel ease_branch }}/examples/cpp).
65
66 For more detailed documentation on using gRPC in C++ , see our main
67 documentation site at [grpc.io](http://grpc.io), specifically:
68
69 * [Overview](http://www.grpc.io/docs/): An introduction to gRPC with a simple
70 Hello World example in all our supported languages, including C++.
71 * [gRPC Basics - C++](http://www.grpc.io/docs/tutorials/basic/c.html):
72 A tutorial that steps you through creating a simple gRPC C++ example
73 application.
74 * [Asynchronous Basics - C++](http://www.grpc.io/docs/tutorials/async/helloasync -cpp.html):
75 A tutorial that shows you how to use gRPC C++'s asynchronous/non-blocking
76 APIs.
77
78
79 # Examples
80
81 Code examples for gRPC C++ live in this repository's
82 [examples/cpp](https://github.com/grpc/grpc/tree/{{ site.data.config.grpc_releas e_branch }}/examples/cpp) directory.
OLDNEW
« no previous file with comments | « third_party/grpc/src/core/tsi/transport_security_interface.h ('k') | third_party/grpc/src/cpp/client/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698