The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
657 B
38 lines
657 B
project('install_data following symlinks') |
|
|
|
install_data( |
|
'foo/link1', |
|
install_dir: get_option('datadir') / 'followed', |
|
follow_symlinks: true, |
|
) |
|
|
|
install_headers( |
|
'foo/link2.h', |
|
follow_symlinks: true, |
|
subdir: 'followed' |
|
) |
|
|
|
install_data( |
|
'foo/link1', |
|
install_dir: get_option('datadir'), |
|
follow_symlinks: false, |
|
) |
|
|
|
install_headers( |
|
'foo/link2.h', |
|
follow_symlinks: false, |
|
) |
|
|
|
install_subdir( |
|
'foo', |
|
install_dir: get_option('datadir') / 'subdir', |
|
strip_directory: true, |
|
follow_symlinks: false, |
|
) |
|
|
|
install_subdir( |
|
'foo', |
|
install_dir: get_option('datadir') / 'subdir_followed', |
|
strip_directory: true, |
|
follow_symlinks: true, |
|
)
|
|
|