mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 01:49:08 +08:00
2f29964660
In addition to updating for the latest release on GitHub, this adds support for three new *features*: * **jpeg** this adds JPEG support for Linux (Windows already supports JPEG via the built-in WIC codec) * **png** this adds PNG support for Linux (Windows already supports PNG via the built-in WIC codec) * **xbox** this builds the library for PC but with Xbox extensions for development. Requires the Microsoft GDKX. By default it targets Xbox Series X|S. To target Xbox One instead, you can use a triplet variable as described in the update usage.
80 lines
1.7 KiB
JSON
80 lines
1.7 KiB
JSON
{
|
|
"name": "directxtex",
|
|
"version-date": "2024-03-06",
|
|
"description": "DirectXTex texture processing library",
|
|
"homepage": "https://github.com/Microsoft/DirectXTex",
|
|
"documentation": "https://github.com/microsoft/DirectXTex/wiki",
|
|
"license": "MIT",
|
|
"supports": "windows | linux",
|
|
"dependencies": [
|
|
{
|
|
"name": "directx-headers",
|
|
"platform": "mingw | linux"
|
|
},
|
|
"directxmath",
|
|
{
|
|
"name": "ms-gdkx",
|
|
"platform": "xbox"
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"default-features": [
|
|
"dx11"
|
|
],
|
|
"features": {
|
|
"dx11": {
|
|
"description": "Build with DirectX11 support"
|
|
},
|
|
"dx12": {
|
|
"description": "Build with DirectX12 support for Windows 10/Windows 11",
|
|
"dependencies": [
|
|
{
|
|
"name": "directx-headers",
|
|
"platform": "windows & !xbox"
|
|
}
|
|
]
|
|
},
|
|
"jpeg": {
|
|
"description": "Add the JPEG auxiliary functions",
|
|
"supports": "linux",
|
|
"dependencies": [
|
|
"libjpeg-turbo"
|
|
]
|
|
},
|
|
"openexr": {
|
|
"description": "Enable OpenEXR support",
|
|
"dependencies": [
|
|
"openexr"
|
|
]
|
|
},
|
|
"png": {
|
|
"description": "Add the PNG auxiliary functions",
|
|
"supports": "linux",
|
|
"dependencies": [
|
|
"libpng"
|
|
]
|
|
},
|
|
"spectre": {
|
|
"description": "Build Spectre-mitigated library"
|
|
},
|
|
"tools": {
|
|
"description": "texture command-line tools",
|
|
"supports": "windows & !uwp & !xbox"
|
|
},
|
|
"xbox": {
|
|
"description": "Adds Xbox specific extensions to the library",
|
|
"supports": "windows & x64 & !uwp & !xbox",
|
|
"dependencies": [
|
|
"ms-gdkx"
|
|
]
|
|
}
|
|
}
|
|
}
|