Merge Go frontend (apiserver + xcecli) into meson build
This commit is contained in:
parent
43dc12a36c
commit
c9dc8c4676
205 changed files with 30793 additions and 328 deletions
|
|
@ -1,11 +1,13 @@
|
|||
capnp = find_program('capnp')
|
||||
packcc = find_program('packcc')
|
||||
|
||||
schema_dir = meson.current_source_dir() / '..' / 'schema'
|
||||
|
||||
gen_srcs = custom_target(
|
||||
'controllercapnp.[ch]',
|
||||
output:['controller.capnp.c', 'controller.capnp.h'],
|
||||
input: '../schema/controller.capnp',
|
||||
command: [capnp, 'compile','-o' ,'c:lib', '-I', '../schema','--src-prefix', '../schema', '@INPUT@']
|
||||
command: [capnp, 'compile','-o' ,'c:lib', '-I', schema_dir, '--src-prefix', schema_dir, '@INPUT@']
|
||||
)
|
||||
|
||||
section_parser = custom_target(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue