early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/vulkan-memory-allocator/portfile.cmake
vendored
Executable file
13
externals/vcpkg/ports/vulkan-memory-allocator/portfile.cmake
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
|
||||
REF 42be483bd5c6605e789e011aac684e0b95d05359 #v3.0.0
|
||||
SHA512 5bb2240481511e51f1617f2c010a3e93a1c72a63713ed4aecf94488e7f46c78a3cfc591e8f94e14b1262b264bc06e1a78cfe69967b41e02441fad1a433747ee6
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY "${SOURCE_PATH}/include/vk_mem_alloc.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-vulkan-memory-allocator-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-vulkan-memory-allocator")
|
||||
|
||||
configure_file("${SOURCE_PATH}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
8
externals/vcpkg/ports/vulkan-memory-allocator/unofficial-vulkan-memory-allocator-config.cmake
vendored
Executable file
8
externals/vcpkg/ports/vulkan-memory-allocator/unofficial-vulkan-memory-allocator-config.cmake
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
|
||||
add_library(unofficial::vulkan-memory-allocator::vulkan-memory-allocator INTERFACE IMPORTED)
|
||||
set_target_properties(unofficial::vulkan-memory-allocator::vulkan-memory-allocator PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include")
|
||||
set(_IMPORT_PREFIX)
|
7
externals/vcpkg/ports/vulkan-memory-allocator/vcpkg.json
vendored
Executable file
7
externals/vcpkg/ports/vulkan-memory-allocator/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "vulkan-memory-allocator",
|
||||
"version": "3.0.0",
|
||||
"description": "Easy to integrate Vulkan memory allocation library from GPUOpen",
|
||||
"homepage": "https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator",
|
||||
"license": "MIT"
|
||||
}
|
Reference in New Issue
Block a user