• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:dart

1 # Protocol Buffers - Code Example
12 https://developers.google.com/protocol-buffers/docs/tutorials
14 ## Build the example using bazel
16 The example requires bazel 0.5.4 or newer to build. You can download/install
22 directory to build the code:
24 $ bazel build :all
28 $ bazel-bin/add_person_cpp addressbook.data
31 [BUILD](BUILD) file and [WORKSPACE](WORKSPACE) file.
33 ## Build the example using make
35 You must install the protobuf package before you can build it using make. The
37 and the protobuf runtime for the language you want to build.
39 You can simply run "make" to build the example for all languages (except for
42 build only the language you are interested in.
49 Then run "make cpp" in this examples directory to build the C++ example. It
60 "-lpthread" from the linker commands (perhaps replacing it with something else).
74 build two executables (shell scripts actually): add_person_python and
82 https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java
86 $ export CLASSPATH=/path/to/protobuf-java-[version].jar
95 install the Go protoc plugin (protoc-gen-go):
97 $ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
99 The "go install" command will install protoc-gen-go into the GOBIN
104 Build the Go samples with "make go". This creates the following
118 Observe that the C++, Python, Java, and Dart examples in this directory run in a
122 ### Dart subsection
126 Then, install the Dart Protocol Buffer plugin as described [here](https://github.com/dart-lang/dart…
127 Note, the executable `bin/protoc-gen-dart` must be in your `PATH` for `protoc` to find it.
129 Build the Dart samples in this directory with `make dart`.
134 $ dart add_person.dart addressbook.data
135 $ dart list_people.dart addressbook.data