mirror of
https://github.com/google/pebble.git
synced 2025-03-20 19:01:21 +00:00
19 lines
594 B
Text
19 lines
594 B
Text
|
# Verify that _size define is generated for messages that have
|
||
|
# includes from another directory.
|
||
|
|
||
|
Import('env')
|
||
|
|
||
|
incpath = env.Clone()
|
||
|
incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
|
||
|
incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
|
||
|
incpath.Append(CPPPATH="$BUILD/regression/issue_172/")
|
||
|
incpath.NanopbProto('test')
|
||
|
incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
|
||
|
|
||
|
p = incpath.Program(["msg_size.c",
|
||
|
"test.pb.c",
|
||
|
"submessage/submessage.pb.c",
|
||
|
'$COMMON/pb_common.o'])
|
||
|
|
||
|
|