diff options
Diffstat (limited to 'examples/cmake_relpath/proto/simple.proto')
-rw-r--r-- | examples/cmake_relpath/proto/simple.proto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/cmake_relpath/proto/simple.proto b/examples/cmake_relpath/proto/simple.proto new file mode 100644 index 0000000..3bf4ad1 --- /dev/null +++ b/examples/cmake_relpath/proto/simple.proto @@ -0,0 +1,11 @@ +// A very simple protocol definition, consisting of only +// one message. +syntax = "proto2"; + +import "sub/unlucky.proto"; + +message SimpleMessage { + required int32 lucky_number = 1; + required UnluckyNumber unlucky = 2; +} + |