blob: 30cb7e7134122394774d1ca033ded5bd7775b184 [file] [log] [blame]
-- Compile vk-bootstrap into the current project, and configure the project for Vulkan.
if not _OPTIONS['with_vulkan'] then
error('script called without `--with_vulkan` option')
end
if not vulkan_headers or not vulkan_memory_allocator then
error('Please `dofile` packages/runtime/renderer/premake5_pls_renderer.lua first.')
end
local dependency = require('dependency')
includedirs({ 'include' })
externalincludedirs({
vulkan_headers .. '/include',
vulkan_memory_allocator .. '/include',
})
files({
'include/**.hpp',
'src/*.cpp',
'src/*.hpp',
})