blob: 8d148a88d4268969b0fcd6967f9a7b2ddb8d7535 [file] [log] [blame]
project('custom target name', 'c')
python = import('python').find_installation()
# 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')