Starting Out

Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
2024-12-09 12:51:29 +02:00
parent 7e6be94c65
commit 4ec57bbd79
47 changed files with 2069 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
project('volk', 'c',
default_options: [
'default_library=static',
],
)
vulkan_dep = dependency('vulkan').partial_dependency(compile_args : true)
volk_inc = include_directories('.')
volk_src = files('volk_impl.c')
volk_lib = library(
'volk',
volk_src,
include_directories: volk_inc,
dependencies: vulkan_dep
)
volk_dep = declare_dependency(
link_with: volk_lib,
include_directories: volk_inc,
dependencies: vulkan_dep
)
meson.override_dependency('volk', volk_dep)