Files
patchelf/meson.build
John Ericson a7c595db2c Add Meson build
Progress on #599. Tests still need to be done, though.
2025-08-12 13:12:15 -04:00

37 lines
705 B
Meson

project(
'patchelf',
'cpp',
'c',
version : files('version'),
default_options : {
'cpp_std' : 'c++17',
'warning_level' : '2',
},
meson_version : '>=1.2',
)
subdir('src')
#subdir('tests') # TODO
install_man('patchelf.1')
#specfile = configure_file(
# output : 'patchelf.spec',
# configuration : {'PACKAGE_VERSION' : meson.project_version()},
#)
# Commented things out should only be for `meson dist`. Need to
# reimplement for that.
install_data(
'README.md',
#'COPYING',
#specfile,
#'version',
install_dir : get_option('datadir') / 'doc' / 'patchelf',
)
install_data(
'completions/zsh/_patchelf',
install_dir : get_option('datadir') / 'zsh' / 'site-functions',
)