ImGUI is now working in the program.

This commit is contained in:
Zed A. Shaw 2025-12-01 23:53:16 -05:00
parent fe79797313
commit 14f307b1b3
5 changed files with 190 additions and 7 deletions

View file

@ -5,7 +5,7 @@ project('hellovulk', 'cpp',
default_options: [
'cpp_std=c++23',
'cpp_args=-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1',
])
])
cmake = import('cmake')
@ -17,7 +17,7 @@ cpp_args=[
'-Wno-unused-variable',
'-Wno-conversion',
'-Wno-missing-field-initializers'
]
]
link_args=[]
# these are passed as override_defaults
exe_defaults = [ 'warning_level=2' ]
@ -70,7 +70,14 @@ endif
vma = subproject('vulkan-memory-allocator').get_variable('vma_allocator_dep')
# vulkan_headers = subproject('vulkan-headers').get_variable('vulkan_headers_dep')
imgui = subproject('imgui').get_variable('imgui_dep')
imgui = subproject('imgui',
default_options: {
'vulkan': 'enabled',
'sdl2_renderer': 'enabled'
},
).get_variable('imgui_dep')
sdl2 = subproject('sdl2').get_variable('sdl2_dep')