summaryrefslogtreecommitdiffstats
path: root/test cases/failing/41 custom target outputs not matching install_dirs/meson.build
blob: ed99dba235c332a0c4b1d6a61523d82e697a916c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
project('outputs not matching install_dirs')

gen = find_program('generator.py')

if meson.backend() != 'ninja'
  error('MESON_SKIP_TEST test is only for the ninja backend')
endif

custom_target('too-few-install-dirs',
  output : ['toofew.h', 'toofew.c', 'toofew.sh'],
  command : [gen, 'toofew', '@OUTDIR@'],
  install : true,
  install_dir : [join_paths(get_option('prefix'), get_option('includedir')), false])