summaryrefslogtreecommitdiffstats
path: root/libs/nanopb/examples/cmake_simple/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nanopb/examples/cmake_simple/README.txt')
-rw-r--r--libs/nanopb/examples/cmake_simple/README.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/nanopb/examples/cmake_simple/README.txt b/libs/nanopb/examples/cmake_simple/README.txt
new file mode 100644
index 0000000..aa0f3f3
--- /dev/null
+++ b/libs/nanopb/examples/cmake_simple/README.txt
@@ -0,0 +1,18 @@
+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.