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.
21 lines
589 B
21 lines
589 B
project('check old builddirs in a stable release', 'c') |
|
|
|
lib = both_libraries('lib', 'lib.c') |
|
exe = executable('foo', 'foo.c', link_with: lib, install: true) |
|
test('exe', exe) |
|
|
|
install_data('data/foo.dat', install_dir: get_option('datadir') / 'foo') |
|
install_man('foo.1') |
|
|
|
py = import('python').find_installation() |
|
py.install_sources('mod.py', subdir: 'foo') |
|
install_subdir('data', install_dir: py.get_install_dir()) |
|
|
|
custom_target( |
|
input: 'mod.py', |
|
output: 'hello.dat', |
|
command: [py, '@INPUT@'], |
|
capture: true, |
|
install: true, |
|
install_dir: get_option('localstatedir') / 'foo', |
|
)
|
|
|