1 2 3 4 5 6 7 8 9 10 11
# Test the generation of message size #defines Import('env') incpath = env.Clone() incpath.Append(PROTOCPATH = '#message_sizes') incpath.NanopbProto("messages1") incpath.NanopbProto("messages2") incpath.Program(['dummy.c', 'messages1.pb.c', 'messages2.pb.c'])