blob: 97271659059969a2cb34c09c134209badb48e2f1 [file] [log] [blame]
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)