Major changes

Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2025-07-02 12:26:20 +03:00
parent 4ec57bbd79
commit dd0d232c97
32 changed files with 997 additions and 182 deletions

View File

@@ -1,6 +1,6 @@
project('evk', ['c','cpp'],
version : '0.1',
default_options : ['c_std=gnu23'])
default_options : ['c_std=gnu23', 'default_library=static'])
build_config = configuration_data()
@@ -15,6 +15,12 @@ endif
configure_file(output: 'evk_buildconfig.h', configuration: build_config)
disabled_warnings = {
'clang': [
'microsoft-anon-tag',
],
}
subproject('evol-headers')
evh_c_args = []
@@ -26,6 +32,10 @@ elif cc.get_id() == 'clang'
evh_c_args += '-DEV_CC_CLANG=1'
endif
foreach w : disabled_warnings[cc.get_id()]
evh_c_args += '-Wno-'+w
endforeach
evk_incdir = [
'.',
]
@@ -45,6 +55,7 @@ evk_src = [
'evk/evkDescriptor.c',
'evk/evkRender.c',
'evk/evkImage.c',
'evk/evkBuffer.c',
'evk/evkMemory.c',
]