SConscript 345 B

12345678910111213141516
  1. # Regression test for #569:
  2. # Compilation error when dependent message size is not defined.
  3. Import("env")
  4. # For C compiler
  5. env.NanopbProto("a")
  6. env.NanopbProto("b")
  7. env.Object("a.pb.c")
  8. env.Object("b.pb.c")
  9. # For C++ compiler
  10. env.NanopbProtoCpp("a")
  11. env.NanopbProtoCpp("b")
  12. env.Object("a_cpp.o", "a.pb.cpp")
  13. env.Object("b_cpp.o", "b.pb.cpp")