meson.build 241 B

123456789
  1. project('custom install script', 'c')
  2. if meson.get_compiler('c').get_id() == 'msvc'
  3. install_data('no-installed-files', install_dir : '')
  4. else
  5. meson.add_install_script('myinstall.sh')
  6. executable('prog', 'prog.c', install : true)
  7. endif