mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +08:00
[vulkan-hpp] deprecate vulkan-hpp (#32975)
* deprecate vulkan-hpp * [vulkan-hpp] change version ot 'deprecated'
This commit is contained in:
parent
b2e069bb3e
commit
48d0be929c
@ -1,14 +1,2 @@
|
||||
# header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KhronosGroup/Vulkan-Hpp
|
||||
REF "v${VERSION}"
|
||||
SHA512 3783268de9c137218453431d03d4bb30a222dc7e94d7ca4eeab896884c8cada3e7a095f432e939efe8c6341773e64656dc141c5ce0f5ef0f49e77f7322e232f6
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY "${SOURCE_PATH}/vulkan/vulkan.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/vulkan")
|
||||
|
||||
# Handle copyright
|
||||
configure_file("${SOURCE_PATH}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
5
ports/vulkan-hpp/usage
Normal file
5
ports/vulkan-hpp/usage
Normal file
@ -0,0 +1,5 @@
|
||||
vulkan-hpp is deprecated. Please use port vulkan-headers instead.
|
||||
vulkan-hpp can be used with CMake:
|
||||
|
||||
find_package(VulkanHeaders CONFIG)
|
||||
target_link_libraries(main PRIVATE Vulkan::Headers)
|
@ -1,11 +1,10 @@
|
||||
{
|
||||
"name": "vulkan-hpp",
|
||||
"version": "1.3.259",
|
||||
"port-version": 1,
|
||||
"description": "Header only C++ bindings for the Vulkan C API",
|
||||
"license": "Apache-2.0",
|
||||
"version-string": "deprecated",
|
||||
"description": "[deprecated] Header only C++ bindings for the Vulkan C API",
|
||||
"license": null,
|
||||
"supports": "!uwp & !xbox",
|
||||
"dependencies": [
|
||||
"vulkan"
|
||||
"vulkan-headers"
|
||||
]
|
||||
}
|
||||
|
@ -8613,8 +8613,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"vulkan-hpp": {
|
||||
"baseline": "1.3.259",
|
||||
"port-version": 1
|
||||
"baseline": "deprecated",
|
||||
"port-version": 0
|
||||
},
|
||||
"vulkan-memory-allocator": {
|
||||
"baseline": "3.0.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2ab29397d55ec0c9b71cb790c30656e4903a996c",
|
||||
"version-string": "deprecated",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "a9a9d60278b58e9bd4b8c301247f4a0e10076136",
|
||||
"version": "1.3.259",
|
||||
|
Loading…
Reference in New Issue
Block a user