Build steps modification + Went from gnu23 to c23
Run tests / Run tests (push) Failing after 4m21s

This commit is contained in:
2026-05-05 15:23:06 +03:00
parent 5550923170
commit 1f0c1945ca
+7 -6
View File
@@ -1,6 +1,6 @@
project('evk', ['c','cpp'],
version : '0.1',
default_options : ['c_std=gnu23', 'default_library=static'])
default_options : ['c_std=c23', 'default_library=static'])
build_config = configuration_data()
@@ -23,17 +23,18 @@ disabled_warnings = {
subproject('evol-headers')
evh_c_args = []
evk_c_args = []
cc = meson.get_compiler('c')
if cc.get_id() == 'msvc'
evh_c_args += '/Zc:preprocessor'
evk_c_args += '/Zc:preprocessor'
elif cc.get_id() == 'clang'
evh_c_args += '-DEV_CC_CLANG=1'
evk_c_args += '-DEV_CC_CLANG=1'
evk_c_args += '-fms-extensions'
endif
foreach w : disabled_warnings[cc.get_id()]
evh_c_args += '-Wno-'+w
evk_c_args += '-Wno-'+w
endforeach
evk_incdir = [
@@ -74,5 +75,5 @@ executable(
dependency('shaderc'),
dependency('spvref'),
],
c_args: evh_c_args,
c_args: evk_c_args,
)