pebble/third_party/nanopb/tests/regression/issue_203/SConscript

11 lines
331 B
Text
Raw Permalink Normal View History

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