test cases/native/5 install script/meson.build
raw| 1 | project('custom install script', 'c') |
| 2 | |
| 3 | # this is just to ensure that the install directory exists before exe is run |
| 4 | install_data('file.txt', install_dir: '.') |
| 5 | |
| 6 | subdir('src') |
| 7 | |
| 8 | meson.add_install_script(exe, 'generated.txt') |
| 9 | wrap = find_program('wrap.py') |
| 10 | # Yes, these are getting silly |
| 11 | meson.add_install_script(wrap, exe, 'wrapped.txt') |
| 12 | meson.add_install_script(wrap, wrap, exe, 'wrapped2.txt') |