meson.build 420 B

1234567891011121314
  1. project('outputs not matching install_dirs', 'c')
  2. gen = find_program('generator.py')
  3. if meson.backend() != 'ninja'
  4. error('Failing manually, test is only for the ninja backend')
  5. endif
  6. custom_target('too-few-install-dirs',
  7. output : ['toofew.h', 'toofew.c', 'toofew.sh'],
  8. command : [gen, 'toofew', '@OUTDIR@'],
  9. install : true,
  10. install_dir : [join_paths(get_option('prefix'), get_option('includedir')), false])