Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m26s
26 lines
885 B
Meson
26 lines
885 B
Meson
if get_option('build_vk')
|
|
#dx11_dep = declare_dependency(link_args: ['-ld3d11', '-ldxgi', '-lwinmm', '-ldxguid'])
|
|
vma_proj = subproject('vulkan-memory-allocator', default_options: ['warning_level=0', 'werror=false'])
|
|
vma_dep = vma_proj.get_variable('vma_allocator_dep')
|
|
|
|
vk_dep = dependency('vulkan', required : true)
|
|
vk_inc_dep = vk_dep.partial_dependency(compile_args: true, includes: true)
|
|
|
|
vk_renderer_lib = library('rtvk',
|
|
'init.c',
|
|
|
|
'../../../contrib/volk/volk.c',
|
|
'../../../contrib/volk/volk.h',
|
|
|
|
dependencies: [m_dep, vk_inc_dep, vma_dep, thread_dep],
|
|
include_directories: [engine_incdir, contrib_incdir],
|
|
link_with: [runtime_lib, common_renderer_lib],
|
|
cpp_pch: 'pch/vk_pch.h',
|
|
override_options: ['b_sanitize=none'],
|
|
install: true)
|
|
|
|
engine_libs += vk_renderer_lib
|
|
engine_lib_paths += vk_renderer_lib.full_path()
|
|
endif
|
|
|