Home | History | Annotate | only in /external/nanopb-c/examples/cmake_relpath
Up to higher level directory
NameDateSize
CMakeLists.txt22-Oct-2020644
proto/22-Oct-2020
README.txt22-Oct-2020533
simple.c22-Oct-20202.3K

README.txt

      1 Nanopb example "simple" using CMake
      2 =======================
      3 
      4 This example is the same as the simple nanopb example but built using CMake.
      5 
      6 Example usage
      7 -------------
      8 
      9 On Linux, create a build directory and then call cmake:
     10 
     11     nanopb/examples/cmake_simple$ mkdir build
     12     nanopb/examples/cmake_simple$ cd build/
     13     nanopb/examples/cmake_simple/build$ cmake ..
     14     nanopb/examples/cmake_simple/build$ make
     15 
     16 After that, you can run it with the command: ./simple
     17 
     18 On other platforms supported by CMake, refer to CMake instructions.
     19