early-access version 2853
This commit is contained in:
19
externals/vcpkg/ports/directx-headers/portfile.cmake
vendored
Executable file
19
externals/vcpkg/ports/directx-headers/portfile.cmake
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/DirectX-Headers
|
||||
REF v1.602.0
|
||||
SHA512 75d81191e3e0b60bc901f04fcb9cf53f0faae7f0c196a1b04f2b9199c72243d4dddaeacad29d82ca7ccb209b16d07b4f1b71a58368fccad13c4d8421e0c9f0d9
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
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)
|
||||
19
externals/vcpkg/ports/directx-headers/vcpkg.json
vendored
Executable file
19
externals/vcpkg/ports/directx-headers/vcpkg.json
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "directx-headers",
|
||||
"version": "1.602.0",
|
||||
"description": "Official DirectX 12 Headers",
|
||||
"homepage": "https://devblogs.microsoft.com/directx/",
|
||||
"documentation": "https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/",
|
||||
"license": "MIT",
|
||||
"supports": "windows | linux",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user