test cases/failing/40 custom target outputs not matching install_dirs/meson.build
raw| 1 | project('outputs not matching install_dirs') |
| 2 | |
| 3 | gen = find_program('generator.py') |
| 4 | |
| 5 | if meson.backend() != 'ninja' |
| 6 | error('MESON_SKIP_TEST test is only for the ninja backend') |
| 7 | endif |
| 8 | |
| 9 | custom_target('too-few-install-dirs', |
| 10 | output : ['toofew.h', 'toofew.c', 'toofew.sh'], |
| 11 | command : [gen, 'toofew', '@OUTDIR@'], |
| 12 | install : true, |
| 13 | install_dir : [join_paths(get_option('prefix'), get_option('includedir')), false]) |