Jie Yang | b988dbb | 2021-08-06 18:34:49 -0700 | [diff] [blame^] | 1 | proto = custom_target( |
2 | 'proto', | ||||
3 | command: [ | ||||
4 | find_program('protoc', native: true), | ||||
5 | '--proto_path=@CURRENT_SOURCE_DIR@', | ||||
6 | '--cpp_out=@OUTDIR@', | ||||
7 | '@INPUT@' | ||||
8 | ], | ||||
9 | output: [ | ||||
10 | 'binaryblob.pb.cc', | ||||
11 | 'binaryblob.pb.h', | ||||
12 | ], | ||||
13 | input: 'binaryblob.proto') |