Try to add andoird and iphone support to vulkan-memory-allocator-hpp (#1931)

* try to add andoird and iphone support to vulkan-memory-allocator-hpp

* Update vma-hpp new version 3.0.1 sha256

* add vulkan-hpp dep with condition

* add gitref condition
pull/1936/head
Frank Zhuang 2 years ago committed by GitHub
parent c14b944b5f
commit 168600e410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      packages/v/vulkan-memory-allocator-hpp/xmake.lua

@ -7,13 +7,17 @@ package("vulkan-memory-allocator-hpp")
add_urls("https://github.com/YaaZ/VulkanMemoryAllocator-Hpp/archive/refs/tags/$(version).tar.gz",
"https://github.com/YaaZ/VulkanMemoryAllocator-Hpp.git")
add_versions("v3.0.0", '2f062b1631af64519d09e7b319c2ba06d7de3c9c5589fb7109a3f4e341cee2b7')
add_versions("v3.0.1", '58aef30d992fea986a8ab3bf3b4c5ffece3679fb585af5700269b3d627bc6760')
add_versions("v3.0.1", '4b50f38f2f6246e6ee23e046a430f5a17df932a9f0c2137d16c4a26a472ec99b')
add_deps("vulkan-hpp")
add_deps("vulkan-memory-allocator")
on_install("windows|x86", "windows|x64", "linux", "macosx", "mingw", function (package)
on_install("windows|x86", "windows|x64", "linux", "macosx", "mingw", "android", "iphoneos", function (package)
os.cp("include", package:installdir())
if package:gitref() or package:version():ge("3.0.1") then
package:add("deps", "vulkan-hpp >= 1.3.234")
else
package:add("deps", "vulkan-hpp < 1.3.234")
end
end)
on_test(function (package)

Loading…
Cancel
Save