1# Build the common files needed by multiple test cases 2 3Import('env') 4 5# Protocol definitions for the encode/decode_unittests 6env.NanopbProto("unittestproto") 7 8# Protocol definitions for basic_buffer/stream tests 9env.NanopbProto("person") 10 11# Binaries of the pb_decode.c and pb_encode.c 12# These are built using more strict warning flags. 13strict = env.Clone() 14strict.Append(CFLAGS = strict['CORECFLAGS']) 15strict.Object("pb_decode.o", "$NANOPB/pb_decode.c") 16strict.Object("pb_encode.o", "$NANOPB/pb_encode.c") 17 18