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.
14 lines
442 B
14 lines
442 B
5 years ago
|
# Testing protobuf files that are deeply hierarchical
|
||
|
# and must preserve their path segments in output files
|
||
|
# because protoc will always put it in there.
|
||
|
|
||
|
generated = gen.process('com/mesonbuild/simple.proto',
|
||
|
'com/mesonbuild/subsite/complex.proto',
|
||
|
preserve_path_from : meson.current_source_dir(),
|
||
|
)
|
||
|
|
||
|
e = executable('pathprog', 'pathprog.cpp', generated,
|
||
|
override_options : ['unity=off'],
|
||
|
dependencies : dep)
|
||
|
test('pathprog', e)
|