Working fastgltf build, but had to manually include the headers.

This commit is contained in:
Zed A. Shaw 2025-12-15 11:04:17 -05:00
parent 6d29fb718b
commit 0e6d452580
8 changed files with 63 additions and 3 deletions

View file

@ -69,7 +69,6 @@ elif build_machine.system() == 'darwin'
endif
vma = subproject('vulkan-memory-allocator').get_variable('vma_allocator_dep')
# vulkan_headers = subproject('vulkan-headers').get_variable('vulkan_headers_dep')
imgui = subproject('imgui',
default_options: {
@ -79,7 +78,7 @@ imgui = subproject('imgui',
).get_variable('imgui_dep')
sdl2 = subproject('sdl2').get_variable('sdl2_dep')
fastgltf = subproject('fastgltf').get_variable('fastgltf_dep')
glm_opts = cmake.subproject_options()
glm_opts.add_cmake_defines({
@ -121,16 +120,21 @@ sources = [
'vk_images.cpp',
'vk_descriptors.cpp',
'vk_pipelines.cpp',
'vk_loader.cpp',
'vk_gui.cpp',
'main.cpp',
]
# have to force this here for...cmake reasons
include_dirs = include_directories('subprojects/fastgltf/include')
tests = [
]
executable('hellovulk', sources,
cpp_args: cpp_args,
link_args: link_args,
include_directories: include_dirs,
win_subsystem: 'windows',
override_options: exe_defaults,
dependencies: dependencies)