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
291 B

project('custom target name', 'c')
python = find_program('python3')
# Name argument is optional and should default to 'file.txt'
custom_target(
input: 'file.txt.in',
output: '@BASENAME@',
command: [python, '--version'],
build_by_default: true,
capture: true,
)
subdir('subdir')