summaryrefslogtreecommitdiffstats
path: root/examples/cmake_simple/simple.proto
diff options
context:
space:
mode:
authorOliver Lee <oliverzlee@gmail.com>2015-02-13 17:28:27 +0100
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-02-13 18:42:46 +0200
commit7c00b90910d4e14e23e027eb951e6f2a8dcfae29 (patch)
tree07dae73ed586d1a05b5571dc39924d5d7005774a /examples/cmake_simple/simple.proto
parent02bd49bc9379e3062a718b1c16d6e2c23ea2f1a0 (diff)
Add simple example built with CMake
Diffstat (limited to 'examples/cmake_simple/simple.proto')
-rw-r--r--examples/cmake_simple/simple.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/cmake_simple/simple.proto b/examples/cmake_simple/simple.proto
new file mode 100644
index 00000000..26e72f46
--- /dev/null
+++ b/examples/cmake_simple/simple.proto
@@ -0,0 +1,7 @@
+// A very simple protocol definition, consisting of only
+// one message.
+
+message SimpleMessage {
+ required int32 lucky_number = 1;
+}
+