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.
15 lines
336 B
15 lines
336 B
7 years ago
|
x = find_program('converter.py')
|
||
|
|
||
|
meson.override_find_program('codegen', x)
|
||
7 years ago
|
|
||
|
# 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)
|