aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/5 protocol buffers/withpath/meson.build
blob: 68a738179fce91529fec309f28503ca458e3d5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)