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.
12 lines
704 B
12 lines
704 B
11 years ago
|
project('custom install dirs', 'c')
|
||
|
executable('prog', 'prog.c', install : true, install_dir : 'dib/dab/dub')
|
||
8 years ago
|
executable('prog2', 'prog.c', install : true, install_dir : get_option('prefix') + '/dib/dab/dub2')
|
||
10 years ago
|
install_headers('sample.h', install_dir : 'some/dir')
|
||
8 years ago
|
install_headers('sample.h', install_dir : get_option('prefix') + '/some/dir2')
|
||
10 years ago
|
install_man('prog.1', install_dir : 'woman')
|
||
8 years ago
|
install_man('prog.1', install_dir : get_option('prefix') + '/woman2')
|
||
10 years ago
|
install_data('datafile.cat', install_dir : 'meow')
|
||
8 years ago
|
install_data('datafile.cat', install_dir : get_option('prefix') + '/meow2')
|
||
|
install_subdir('subdir', install_dir : 'woof')
|
||
|
install_subdir('subdir', install_dir : get_option('prefix') + '/woof2')
|