add check

This commit is contained in:
chatlanin 2024-07-19 11:55:56 +03:00
parent 062672c68d
commit 53b5ccc9d8

View File

@ -1,7 +1,7 @@
project( project(
meson.current_source_dir().split('/').get(-1), meson.current_source_dir().split('/').get(-1),
'cpp', 'cpp',
version : run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip(), version : run_command('git', 'rev-parse', '--short', 'HEAD', check: false).stdout().strip(),
default_options : [ default_options : [
'warning_level=1', 'warning_level=1',
'optimization=3', 'optimization=3',