test cases/frameworks/5 protocol buffers/asubdir/meson.build
raw| 1 | subdirgen = generator(protoc, \ |
| 2 | output : ['@[email protected]', '@[email protected]'], |
| 3 | arguments : ['--proto_path=@CURRENT_SOURCE_DIR@', '--cpp_out=@BUILD_DIR@', '@INPUT@']) |
| 4 | |
| 5 | generated = subdirgen.process('defs.proto') |
| 6 | e = executable('subdir-prog', 'main.cpp', generated, |
| 7 | dependencies : dep) |
| 8 | test('subdir-prototest', e) |