mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
533 B
19 lines
533 B
8 years ago
|
Nanopb example "simple" using CMake
|
||
|
=======================
|
||
|
|
||
|
This example is the same as the simple nanopb example but built using CMake.
|
||
|
|
||
|
Example usage
|
||
|
-------------
|
||
|
|
||
|
On Linux, create a build directory and then call cmake:
|
||
|
|
||
|
nanopb/examples/cmake_simple$ mkdir build
|
||
|
nanopb/examples/cmake_simple$ cd build/
|
||
|
nanopb/examples/cmake_simple/build$ cmake ..
|
||
|
nanopb/examples/cmake_simple/build$ make
|
||
|
|
||
|
After that, you can run it with the command: ./simple
|
||
|
|
||
|
On other platforms supported by CMake, refer to CMake instructions.
|