changed project name to patricus utils and made the git hash full instead of short

This commit is contained in:
patricus 2025-06-18 15:18:46 +02:00
parent bf27804a4d
commit 6741cf3115

View file

@ -1,7 +1,7 @@
project('myproject', 'c', version: '3.4')
project('patricus utils', 'c', version: '3.4')
# Get the short git commit hash
git_hash = run_command('git', 'rev-parse', '--short', 'HEAD', check: true).stdout().strip()
git_hash = run_command('git', 'rev-parse', 'HEAD', check: true).stdout().strip()
# Combine version and hash
full_version = '@0@(@1@)'.format(meson.project_version(), git_hash)