summaryrefslogtreecommitdiffstats
path: root/tests/multiple_files/SConscript
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-09-12 15:45:37 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-09-12 15:47:56 +0300
commit0b29baf5deaa4213c08ee71fa55d3d0b2ed709e4 (patch)
treee2ec2dad3a641d91584c1a765caf964d64e28351 /tests/multiple_files/SConscript
parent35dff3367452f89a1d8d483d0f8f601d89d78937 (diff)
Make the generator understand included files (issue #165).
This will allow message sizes and enum options to be available across the include files. Currently searching for .options files for included files may not work for all path combinations, this is related to issue #116. Should probably make a pull request to protoc about that.
Diffstat (limited to 'tests/multiple_files/SConscript')
-rw-r--r--tests/multiple_files/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multiple_files/SConscript b/tests/multiple_files/SConscript
index c3a82eb4..1689f482 100644
--- a/tests/multiple_files/SConscript
+++ b/tests/multiple_files/SConscript
@@ -5,7 +5,7 @@ Import("env")
incpath = env.Clone()
incpath.Append(PROTOCPATH = '#multiple_files')
-incpath.NanopbProto("multifile1")
+incpath.NanopbProto(["multifile1", "multifile1.options"])
incpath.NanopbProto("multifile2")
test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", "multifile2.pb.c"])