test cases/frameworks/5 protocol buffers/withpath/meson.build
raw| 1 | # Testing protobuf files that are deeply hierarchical |
| 2 | # and must preserve their path segments in output files |
| 3 | # because protoc will always put it in there. |
| 4 | |
| 5 | generated = gen.process('com/mesonbuild/simple.proto', |
| 6 | 'com/mesonbuild/subsite/complex.proto', |
| 7 | preserve_path_from : meson.current_source_dir(), |
| 8 | ) |
| 9 | |
| 10 | e = executable('pathprog', 'pathprog.cpp', generated, |
| 11 | override_options : ['unity=off'], |
| 12 | dependencies : dep) |
| 13 | test('pathprog', e) |