aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/143 list of file sources/meson.build
blob: 819509dd6bb359e22369f607567b3a4c2ea3fa07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
project('test', 'c')

mod_py = import('python3')
python = mod_py.find_python()

test_target = custom_target(
  'test_target',
  input : [files('gen.py'), files('foo')],
  output : 'bar',
  command : [python, '@INPUT0@', '@INPUT1@', '@OUTPUT@'],
  build_by_default : true,
)