test cases/common/249 install_symlink/meson.build
raw| 1 | project('install_emptydir') |
| 2 | |
| 3 | if build_machine.system() == 'windows' and meson.backend() == 'ninja' |
| 4 | error('MESON_SKIP_TEST windows does not support symlinks unless root or in development mode') |
| 5 | endif |
| 6 | |
| 7 | install_data('datafile.dat', install_dir: 'share/progname/C') |
| 8 | install_symlink('datafile.dat', pointing_to: '../C/datafile.dat', install_dir: 'share/progname/es') |
| 9 | install_symlink('rename_datafile.dat', pointing_to: '../C/datafile.dat', install_dir: 'share/progname/fr') |