SConscript 303 B

123456789101112
  1. # Regression test for Issue 118: Short enum names in imported proto files are not honoured
  2. Import("env")
  3. env = env.Clone()
  4. env.Append(PROTOCPATH = "#regression/issue_118")
  5. env.NanopbProto("enumdef")
  6. env.Object('enumdef.pb.c')
  7. env.NanopbProto(["enumuse", "enumdef.proto"])
  8. env.Object('enumuse.pb.c')