aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/183 find override/subdir/meson.build
blob: e5de34dded72ad31f01dc2d93261807b0af3f120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
x = find_program('converter.py')

meson.override_find_program('codegen', x)

# Override a command with a generated script

cdata = configuration_data()

cdata.set('NUMBER', 100)
numprog = configure_file(input : 'gencodegen.py.in',
  output : 'gencodegen.py',
  configuration : cdata)

meson.override_find_program('gencodegen', numprog)