aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing/42 custom target outputs not matching install_dirs/meson.build
blob: 765e2376487b6ee88d325f6da3a9380d491a013b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
project('outputs not matching install_dirs', 'c')

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])