summaryrefslogtreecommitdiff
path: root/test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-12-11 22:14:10 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-12-12 00:02:37 +0200
commit4af4145d09d14bcf142714b3dd8c25ee00fcbe68 (patch)
treea289c0d6b5960733bd16d9ecab41fbd9a391ceb2 /test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto
parent19cd60205db049a0aac274afad910281e9011ff7 (diff)
downloadmeson-4af4145d09d14bcf142714b3dd8c25ee00fcbe68.tar.gz
Files created with generator can have path segments.
This is OK, because they are written in the private directory of each target and its layout can be anything.
Diffstat (limited to 'test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto')
-rw-r--r--test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto b/test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto
new file mode 100644
index 000000000..8dc32c205
--- /dev/null
+++ b/test cases/frameworks/5 protocol buffers/withpath/com/mesonbuild/subsite/complex.proto
@@ -0,0 +1,10 @@
+syntax = "proto3";
+
+package subdirectorial;
+
+import "com/mesonbuild/simple.proto";
+
+message ComplexMessage {
+ string a_message = 1;
+ SimpleMessage sm = 2;
+}