CMake, Meson, Nix: replace props.json with VERSION

This commit is contained in:
Mihai Fufezan
2024-07-18 21:27:03 +03:00
parent faa157e162
commit 928d1dd38a
5 changed files with 6 additions and 9 deletions

View File

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