Build: use props file for versioning

This commit is contained in:
Mihai Fufezan
2023-01-06 16:21:42 +02:00
parent 98ce867104
commit a54247125f
4 changed files with 11 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
project('Hyprland', 'cpp', 'c',
version : '0.20.0beta',
version : run_command('jq', '-r', '.version', join_paths(meson.source_root(), 'props.json'), check: true).stdout().strip(),
default_options : [
'warning_level=2',
'default_library=static',