mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +08:00
[directx-headers] update port for 1.611.0 release (#35660)
* [directx-headers] update port for 1.611.0 release * Update baseline
This commit is contained in:
parent
82ad3ea735
commit
b842dacae7
@ -1,21 +1,21 @@
|
||||
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/DirectX-Headers
|
||||
REF v${VERSION}
|
||||
SHA512 37781f20b533c68d2adacda36936e70d43cf83b108ec76b224b0633760f8e993467618e40b21dd4a71ff314f1b35e3812d7ec85663696bab7132222d1fb5b987
|
||||
SHA512 717ed37f6404d67a032f50358a17bcab6c6258eff321287e4a26cef203738d4e5c930a53afc43d8175637634d71dfbb7c25f13eedaa35a4626cb402fa5e56abc
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
||||
OPTIONS -DDXHEADERS_INSTALL=ON -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/directx-headers/cmake)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE 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 "${SOURCE_PATH}/LICENSE")
|
||||
|
4
ports/directx-headers/usage
Normal file
4
ports/directx-headers/usage
Normal file
@ -0,0 +1,4 @@
|
||||
The DirectX Headers package provides CMake targets:
|
||||
|
||||
find_package(directx-headers CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE Microsoft::DirectX-Headers)
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "directx-headers",
|
||||
"version": "1.610.2",
|
||||
"version": "1.611.0",
|
||||
"description": "Official DirectX 12 Headers",
|
||||
"homepage": "https://devblogs.microsoft.com/directx/",
|
||||
"documentation": "https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/",
|
||||
|
@ -2177,7 +2177,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"directx-headers": {
|
||||
"baseline": "1.610.2",
|
||||
"baseline": "1.611.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"directxmath": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fb40a4684c1b18daa80a09fc344d94622a275161",
|
||||
"version": "1.611.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "36881ec4ee5f1623dc083ef7afcfe1133c3fbd32",
|
||||
"version": "1.610.2",
|
||||
|
Loading…
Reference in New Issue
Block a user