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.
17 lines
617 B
17 lines
617 B
project('install a whole subdir', 'c') |
|
|
|
# A subdir with an exclusion: |
|
install_subdir('sub2', |
|
exclude_files : ['excluded-three.dat'], |
|
exclude_directories : ['excluded'], |
|
install_dir : 'share') |
|
|
|
subdir('subdir') |
|
# A subdir with write perms only for the owner |
|
# and read-list perms for owner and group |
|
install_subdir('sub1', install_dir : 'share', install_mode : ['rwxr-x--t', 'root']) |
|
install_subdir('sub/sub1', install_dir : 'share') |
|
|
|
# strip_directory |
|
install_subdir('sub_elided', install_dir : 'share', strip_directory : true) |
|
install_subdir('nested_elided/sub', install_dir : 'share', strip_directory : true)
|
|
|