philippe44 7e5f27af12 update cspot 2 years ago
..
proto 39f5a81238 add nanopb (manual) 2 years ago
CMakeLists.txt 7e5f27af12 update cspot 2 years ago
README.txt 39f5a81238 add nanopb (manual) 2 years ago
simple.c 39f5a81238 add nanopb (manual) 2 years ago

README.txt

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.