SConscript 331 B

12345678910
  1. # Regression test for issue with multiple files generated at once
  2. Import('env')
  3. env = env.Clone()
  4. env.Replace(NANOPBFLAGS = "--strip-path")
  5. env.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'],
  6. env['NANOPB_PROTO_CMD'])
  7. env.Object('file1.pb.c')
  8. env.Object('file2.pb.c')