diff options
Diffstat (limited to 'third_party/nanopb/tests/multiple_files/SConscript')
-rw-r--r-- | third_party/nanopb/tests/multiple_files/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/nanopb/tests/multiple_files/SConscript b/third_party/nanopb/tests/multiple_files/SConscript index 1689f4822a..b1281e1738 100644 --- a/third_party/nanopb/tests/multiple_files/SConscript +++ b/third_party/nanopb/tests/multiple_files/SConscript @@ -4,10 +4,13 @@ Import("env") incpath = env.Clone() incpath.Append(PROTOCPATH = '#multiple_files') +incpath.Append(CPPPATH = '$BUILD/multiple_files') incpath.NanopbProto(["multifile1", "multifile1.options"]) incpath.NanopbProto("multifile2") -test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", "multifile2.pb.c"]) +incpath.NanopbProto("subdir/multifile2") +test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c", + "multifile2.pb.c", "subdir/multifile2.pb.c"]) env.RunTest(test) |