Now have a blue screen.
This commit is contained in:
parent
7298568818
commit
8a7ef61c78
11 changed files with 527 additions and 55 deletions
15
meson.build
15
meson.build
|
|
@ -7,6 +7,8 @@ project('hellovulk', 'cpp',
|
|||
'cpp_args=-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1',
|
||||
])
|
||||
|
||||
cmake = import('cmake')
|
||||
|
||||
# use this for common options only for our executables
|
||||
cpp_args=[]
|
||||
link_args=[]
|
||||
|
|
@ -54,16 +56,20 @@ elif build_machine.system() == 'darwin'
|
|||
endif
|
||||
|
||||
vma = subproject('vulkan-memory-allocator').get_variable('vma_allocator_dep')
|
||||
vulkanheaders = subproject('vulkan-headers').get_variable('vulkan_headers_dep')
|
||||
|
||||
vkbootstrap = subproject('vk-bootstrap').get_variable('vk_bootstrap_dep')
|
||||
glm = subproject('glm').get_variable('glm_dep')
|
||||
imgui = subproject('imgui').get_variable('imgui_dep')
|
||||
sdl2 = subproject('sdl2').get_variable('sdl2_dep')
|
||||
|
||||
opts = cmake.subproject_options()
|
||||
opts.add_cmake_defines({
|
||||
'VK_BOOTSTRAP_TEST': false,
|
||||
'VK_BOOTSTRAP_INSTALL': false,
|
||||
})
|
||||
vkbootstrap_proj = cmake.subproject('vk-bootstrap', options: opts)
|
||||
vkbootstrap = vkbootstrap_proj.get_variable('vk_bootstrap_dep')
|
||||
|
||||
dependencies += [
|
||||
vma,
|
||||
vulkanheaders,
|
||||
vkbootstrap,
|
||||
glm,
|
||||
imgui,
|
||||
|
|
@ -73,6 +79,7 @@ dependencies += [
|
|||
sources = [
|
||||
'vk_initializers.cpp',
|
||||
'vk_engine.cpp',
|
||||
'vk_images.cpp',
|
||||
'main.cpp',
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue