meson.build: add versioning

Added versioning to the binaries with configuration file in meson.
This commit is contained in:
Luc Bijl 2025-11-08 12:00:03 +01:00
parent 55c25299da
commit a6de269de5
2 changed files with 12 additions and 18 deletions

View file

@ -1,14 +1,8 @@
# Project definition
project('zlevis', license: 'GPL3')
project('zlevis', license: 'GPL3', version: '2.3')
# Define bindir
bindir = join_paths(get_option('prefix'), get_option('bindir'))
# Define bins list
bins = []
# Define bin dir
bin_dir = join_paths(get_option('prefix'), get_option('bindir'))
# Define subdir with bins
subdir('src')
# Install bins in bindir
install_data(bins, install_dir: bindir)