The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
323 B
9 lines
323 B
8 years ago
|
subdirgen = generator(protoc, \
|
||
|
output : ['@BASENAME@.pb.cc', '@BASENAME@.pb.h'],
|
||
|
arguments : ['--proto_path=@CURRENT_SOURCE_DIR@', '--cpp_out=@BUILD_DIR@', '@INPUT@'])
|
||
|
|
||
|
generated = subdirgen.process('defs.proto')
|
||
|
e = executable('subdir-prog', 'main.cpp', generated,
|
||
|
dependencies : dep)
|
||
|
test('subdir-prototest', e)
|