1# Regression test for issues #783 and #820:
2# Could not find enum type when using mangle_names:M_STRIP_PACKAGE
3# when using multiple packages. Same when overriding package name
4# with "(nanopb_fileopt).package".
5
6Import('env')
7
8incpath = env.Clone()
9incpath.Append(CPPPATH="$BUILD/regression/issue_783")
10
11a = incpath.NanopbProto(['folder_A/file_A', 'folder_A/file_A.options'])
12b = incpath.NanopbProto(['folder_C/file_C'])
13c = incpath.NanopbProto(['folder_B/file_B'])
14
15incpath.Depends(c, [a, b])
16
17incpath.Object('folder_A/file_A.pb.c')
18incpath.Object('folder_B/file_B.pb.c')
19incpath.Object('folder_C/file_C.pb.c')
20