mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-19 04:18:11 +02:00
Plain-text was useful for the initial implementation where the counterpart was netcat but now that both parts are in place, protobuf is a much more convenient system to handle a frequently-changing protocol. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
9 lines
522 B
Meson
9 lines
522 B
Meson
dep_protobuf = dependency('libprotobuf-c')
|
|
protoc = find_program('protoc')
|
|
proto_headers = custom_target('proto-headers',
|
|
input: 'ei.proto',
|
|
output: ['ei.pb-c.c', 'ei.pb-c.h'],
|
|
command: [protoc,
|
|
'--proto_path=@0@'.format(meson.current_source_dir()),
|
|
'--c_out=@0@'.format(meson.current_build_dir()),
|
|
'ei.proto'])
|