mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
[dstorage] Update for version 1.2.2 (#35179)
* [dstorage] Update for version 1.2.2 which drops ARM32 * Update baseline * Code review feedback * Update baseline
This commit is contained in:
parent
78ec5c9df8
commit
0fd2ad76ef
@ -5,7 +5,7 @@ set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled)
|
|||||||
vcpkg_download_distfile(ARCHIVE
|
vcpkg_download_distfile(ARCHIVE
|
||||||
URLS "https://www.nuget.org/api/v2/package/Microsoft.Direct3D.DirectStorage/${VERSION}"
|
URLS "https://www.nuget.org/api/v2/package/Microsoft.Direct3D.DirectStorage/${VERSION}"
|
||||||
FILENAME "directstorage.${VERSION}.zip"
|
FILENAME "directstorage.${VERSION}.zip"
|
||||||
SHA512 5be6219888c89c5f590709d1528b3e6854eabd7b733af5c8f665aa9d7e987fa3bac34472362f845eb902b88d2d6e8afbbcead15e892d72678861a14b0bc13c41
|
SHA512 f24f681edf0c5e047573c68ca85ab62e0ffefaf87867d45231d779e9bc8e9525891b56314cc30e58eaef20132335f011f32aba22654d2e7caf23338aeb29c6ce
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_extract_source_archive(
|
vcpkg_extract_source_archive(
|
||||||
@ -25,6 +25,7 @@ file(COPY "${PACKAGE_PATH}/native/bin/${VCPKG_TARGET_ARCHITECTURE}/dstoragecore.
|
|||||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug")
|
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug")
|
||||||
file(COPY "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug")
|
file(COPY "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug")
|
||||||
|
|
||||||
file(INSTALL "${PACKAGE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
|
vcpkg_install_copyright(FILE_LIST "${PACKAGE_PATH}/LICENSE.txt")
|
||||||
|
|
||||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/dstorage-config.cmake.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" COPYONLY)
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/dstorage-config.cmake.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake" COPYONLY)
|
||||||
|
4
ports/dstorage/usage
Normal file
4
ports/dstorage/usage
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
The DirectStorage package provides CMake targets:
|
||||||
|
|
||||||
|
find_package(dstorage CONFIG REQUIRED)
|
||||||
|
target_link_libraries(main PRIVATE Microsoft::DirectStorage)
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "dstorage",
|
"name": "dstorage",
|
||||||
"version": "1.2.0",
|
"version": "1.2.2",
|
||||||
"description": "DirectStorage for Windows",
|
"description": "DirectStorage for Windows",
|
||||||
"homepage": "https://aka.ms/directstorage/",
|
"homepage": "https://aka.ms/directstorage/",
|
||||||
"documentation": "https://github.com/microsoft/DirectStorage",
|
"documentation": "https://github.com/microsoft/DirectStorage",
|
||||||
"license": null,
|
"license": null,
|
||||||
"supports": "windows & !uwp & !xbox"
|
"supports": "windows & !arm32 & !uwp & !xbox"
|
||||||
}
|
}
|
||||||
|
@ -2265,7 +2265,7 @@
|
|||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"dstorage": {
|
"dstorage": {
|
||||||
"baseline": "1.2.0",
|
"baseline": "1.2.2",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"dtl": {
|
"dtl": {
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "7577afa856f2cf3d3ce28d32f3272344987f2a71",
|
||||||
|
"version": "1.2.2",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "18440695231677ed659b391e4a31c0100996cdb6",
|
"git-tree": "18440695231677ed659b391e4a31c0100996cdb6",
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user