aboutsummaryrefslogtreecommitdiffstats
path: root/libs/nanopb/tests/regression/issue_172/SConscript
blob: 49c919e80591c07f0f594d613897cc9acd0c8c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.NanopbProto('test')
incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])

p = incpath.Program(["msg_size.c",
                     "test.pb.c",
                     "submessage/submessage.pb.c"])