meson.build: add versioning
Added versioning to the binaries with configuration file in meson.
This commit is contained in:
parent
55c25299da
commit
a6de269de5
2 changed files with 12 additions and 18 deletions
12
meson.build
12
meson.build
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue