1# Verify that _size define is generated for messages that have 2# includes from another directory. 3 4Import('env') 5 6incpath = env.Clone() 7incpath.Append(PROTOCPATH="#regression/issue_172/submessage") 8incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage") 9incpath.NanopbProto('test') 10incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options']) 11 12p = incpath.Program(["msg_size.c", 13 "test.pb.c", 14 "submessage/submessage.pb.c"]) 15 16 17