aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/99 custom target name/meson.build
blob: 82876149f86d428032ec50d081d7e16d6dffc42f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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')