mirror of
https://github.com/google/pebble.git
synced 2025-03-19 18:41:21 +00:00
18 lines
594 B
Python
18 lines
594 B
Python
# 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'])
|
|
|
|
|