Commit c2ade34f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

meson: Extract version components

parent 3634ef1f
......@@ -27,6 +27,11 @@ project('dav1d', ['c'],
default_options: ['c_std=c99'],
meson_version: '>= 0.47.0')
dav1d_version_array = meson.project_version().split('.')
dav1d_version_major = dav1d_version_array[0]
dav1d_version_minor = dav1d_version_array[1]
dav1d_version_revision = dav1d_version_array[2]
dav1d_src_root = meson.current_source_dir()
cdata = configuration_data()
cdata_asm = configuration_data()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment