mirror of https://github.com/microsoft/vcpkg.git
[community triplet] adds triplets for building for the Xbox platform (#29210)
* Try adding xbox triplets * Update for Gaming Command Prompt usage * Fix directxtk12 shaders for xbox * Add toolchain for xbox * Fix ports for feature builds * Code review feedback * More code review * Code review * WIN32_LEAN_AND_MEAN is too aggressive for many libs * Normalize GDK variable paths * Need to leave oldnames.lib as many libs use POSIX names * More code review feedback * Remove extra file * Use of /DEFAULTLIB fixed 41 ports * Code review feedback * Added basic xbox supports expression * Updates for xbox-aware ports * Update for CMake fixes upstream * Minor synatx fix * Fix up merge issues * Need directx-headers for linux * Missed one port revision * Removed VCPKG_TARGET_IS_XBOX from project scope after upstream fixes * Update baseline * License updates per github-actions bot * Update baseline * Update toolchain to support try_compile for GDK headers * Update port numbers * Update baseline * Don't need directx-dxc for Xbox builds * Update baseline * Update hashes * Code review * Update baseline * Refresh hashes for upstream fixes * Update baseline * Add ms-gdkx stub port * Update baseline * updated ms-gdkx with user-friendly output * Update baseline * Code review for the toolchain file * Update directxkt12 hash * Refresh baseline * Update MSBuild integration to select proper triplet for GDK custom platforms * Update CMake integration to select proper xbox triplet from XBOX_CONSOLE_TARGET * vcpkg.targets update * Code review feedback * Update baseline * Refresh baseline * Code review for MSBuild * Code review for xbox toolchain * vcpkg.cmake codereview --------- Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
This commit is contained in:
parent
54e3abfe85
commit
c1d764a742
|
|
@ -1,6 +1,9 @@
|
|||
{
|
||||
"name": "d3dx12",
|
||||
"version-string": "may2021",
|
||||
"port-version": 1,
|
||||
"description": "The D3D12 Helper Library",
|
||||
"homepage": "https://docs.microsoft.com/en-us/windows/win32/direct3d12/helper-structures-and-functions-for-d3d12"
|
||||
"homepage": "https://docs.microsoft.com/en-us/windows/win32/direct3d12/helper-structures-and-functions-for-d3d12",
|
||||
"license": "MIT",
|
||||
"supports": "(windows & !xbox) | linux"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
"name": "directx-dxc",
|
||||
"version-date": "2023-03-01",
|
||||
"port-version": 1,
|
||||
"description": "DirectX Shader Compiler (LLVM/Clang)",
|
||||
"homepage": "https://github.com/microsoft/DirectXShaderCompiler",
|
||||
"documentation": "https://github.com/microsoft/DirectXShaderCompiler/wiki",
|
||||
"license": null,
|
||||
"supports": "(windows & !arm32 & !uwp) | (linux & x64)",
|
||||
"supports": "(windows & !arm32 & !uwp & !xbox) | (linux & x64)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
"name": "directx-headers",
|
||||
"version": "1.608.2",
|
||||
"port-version": 1,
|
||||
"description": "Official DirectX 12 Headers",
|
||||
"homepage": "https://devblogs.microsoft.com/directx/",
|
||||
"documentation": "https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/",
|
||||
"license": "MIT",
|
||||
"supports": "windows | linux",
|
||||
"supports": "(windows & !xbox) | linux",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/DirectXMesh
|
||||
REF ${DIRECTXMESH_TAG}
|
||||
SHA512 9a3f76b956b002ec0bd943746fe896348c2095c113d4b78efe257f3bc32af4995f4b33d5b13dad48798e706066c55acbbe4de5809240b052983ef322998f7734
|
||||
REF dec2022b
|
||||
SHA512 8e7b757b311223b6ea10fcd6ca9729a4fed51526966239da7d9c3c22f09bc50bbae80b2f8f899badbcc0bfcabc62dcd8d7a662c5881118cce97d3198c014c51e
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ endif()
|
|||
|
||||
set(EXTRA_OPTIONS -DBUILD_TESTING=OFF)
|
||||
|
||||
if(VCPKG_TARGET_IS_UWP)
|
||||
if(VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_IS_XBOX)
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_TOOLS=OFF)
|
||||
else()
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_TOOLS=ON)
|
||||
|
|
@ -53,7 +53,7 @@ if((VCPKG_HOST_IS_WINDOWS) AND (VCPKG_TARGET_ARCHITECTURE MATCHES x64))
|
|||
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/tools/directxmesh/meshconvert-${DIRECTXMESH_TAG}.exe ${CURRENT_PACKAGES_DIR}/tools/directxmesh/meshconvert.exe)
|
||||
|
||||
elseif((VCPKG_TARGET_IS_WINDOWS) AND (NOT VCPKG_TARGET_IS_UWP))
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS AND (NOT VCPKG_TARGET_IS_UWP) AND (NOT VCPKG_TARGET_IS_XBOX))
|
||||
|
||||
vcpkg_copy_tools(
|
||||
TOOL_NAMES meshconvert
|
||||
|
|
|
|||
|
|
@ -1,14 +1,22 @@
|
|||
{
|
||||
"name": "directxmesh",
|
||||
"version-date": "2022-12-15",
|
||||
"port-version": 1,
|
||||
"description": "DirectXMesh geometry processing library",
|
||||
"homepage": "https://github.com/Microsoft/DirectXMesh",
|
||||
"documentation": "https://github.com/microsoft/DirectXMesh/wiki",
|
||||
"license": "MIT",
|
||||
"supports": "windows | linux",
|
||||
"dependencies": [
|
||||
"directx-headers",
|
||||
{
|
||||
"name": "directx-headers",
|
||||
"platform": "(windows & !xbox) | linux"
|
||||
},
|
||||
"directxmath",
|
||||
{
|
||||
"name": "ms-gdkx",
|
||||
"platform": "xbox"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"name": "directxsdk",
|
||||
"version-string": "jun10",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "Legacy DirectX SDK",
|
||||
"homepage": "https://docs.microsoft.com/en-us/windows/win32/directx-sdk--august-2009-",
|
||||
"supports": "windows & !uwp & !arm",
|
||||
"license": null,
|
||||
"supports": "windows & !uwp & !xbox & !arm",
|
||||
"features": {
|
||||
"xaudio2-7": {
|
||||
"description": "Include headers/libs for legacy XAudio 2.7 (prefer use of XAudio2Redist)"
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/DirectXTex
|
||||
REF jan2023b
|
||||
SHA512 5e107b1bbf2af8c9989e7760f9f8454b1fc956fb948003f92a7cec2954917cecb7d0fb5d076c3f920c57af7c45ca1b7b440acf1cbfd6de8bb57e8d50118df4de
|
||||
REF jan2023c
|
||||
SHA512 df550651b0fc4927aa9f837e0347b98722b8112ca7d7eddecded03a4a8a3dd7afed42c882c04f0b64e403a26c84d4e1c88ee9c104395be446ce220b28c6af9da
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ endif()
|
|||
|
||||
set(EXTRA_OPTIONS -DBUILD_SAMPLE=OFF -DBUILD_TESTING=OFF -DBC_USE_OPENMP=ON)
|
||||
|
||||
if(VCPKG_TARGET_IS_UWP)
|
||||
if(VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_IS_XBOX)
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_TOOLS=OFF)
|
||||
else()
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_TOOLS=ON)
|
||||
|
|
@ -77,7 +77,7 @@ if(VCPKG_HOST_IS_WINDOWS AND (VCPKG_TARGET_ARCHITECTURE MATCHES x64) AND (NOT ("
|
|||
file(RENAME "${CURRENT_PACKAGES_DIR}/tools/directxtex/texconv-${DIRECTXTEX_TAG}.exe" "${CURRENT_PACKAGES_DIR}/tools/directxtex/texconv.exe")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/tools/directxtex/texdiag-${DIRECTXTEX_TAG}.exe" "${CURRENT_PACKAGES_DIR}/tools/directxtex/texadiag.exe")
|
||||
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS AND (NOT VCPKG_TARGET_IS_UWP) AND ("dx11" IN_LIST FEATURES))
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS AND (NOT VCPKG_TARGET_IS_UWP) AND (NOT VCPKG_TARGET_IS_XBOX) AND ("dx11" IN_LIST FEATURES))
|
||||
|
||||
vcpkg_copy_tools(
|
||||
TOOL_NAMES texassemble texconv texdiag
|
||||
|
|
|
|||
|
|
@ -1,15 +1,22 @@
|
|||
{
|
||||
"name": "directxtex",
|
||||
"version-date": "2023-01-31",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "DirectXTex texture processing library",
|
||||
"homepage": "https://github.com/Microsoft/DirectXTex",
|
||||
"documentation": "https://github.com/microsoft/DirectXTex/wiki",
|
||||
"license": "MIT",
|
||||
"supports": "windows | linux",
|
||||
"dependencies": [
|
||||
"directx-headers",
|
||||
{
|
||||
"name": "directx-headers",
|
||||
"platform": "(windows & !xbox) | linux"
|
||||
},
|
||||
"directxmath",
|
||||
{
|
||||
"name": "ms-gdkx",
|
||||
"platform": "xbox"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ endif()
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/DirectXTK
|
||||
REF ${DIRECTXTK_TAG}
|
||||
SHA512 229f51e60937aacf0826d02e4c0869f2801e897efbacd9a2cab6f816c1218903d7dae654ab1ab42678bb2adf98b98d303886f3d51f6642d81b7350297e81068d
|
||||
REF feb2023b
|
||||
SHA512 ada04322589e635a7fc21a3b35e9af676bba060a800b56b2735e7e109801b08daa9f9ef8b6b25762e470a88a9cb0fdab3cb46dcc7b13e0344ded4d507254ea37
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
"name": "directxtk",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 1,
|
||||
"description": "A collection of helper classes for writing DirectX 11.x code in C++.",
|
||||
"homepage": "https://github.com/Microsoft/DirectXTK",
|
||||
"documentation": "https://github.com/microsoft/DirectXTK/wiki",
|
||||
"license": "MIT",
|
||||
"supports": "windows",
|
||||
"supports": "windows & !xbox",
|
||||
"dependencies": [
|
||||
"directxmath",
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/DirectXTK12
|
||||
REF ${DIRECTXTK_TAG}
|
||||
SHA512 e536e5c258266e46b31a5c7af46a70cc8428e71dc495015527a710ccbfc87fc349caeb7ffcf8cfc1ec2a3311eac55ad30ab906cc4abeacb55b63427e2d514e83
|
||||
REF feb2023b
|
||||
SHA512 e17b726e8f73bd499ab0c7e9c1d8fb7f1af3bad3220a8b3accbf5993b735bcd7caa349b767d09af74a800e0cf1852749280fc0e7a0cf8fe186dbf13dd07ba11d
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
|
|
@ -18,10 +18,16 @@ vcpkg_check_features(
|
|||
xaudio2redist BUILD_XAUDIO_REDIST
|
||||
)
|
||||
|
||||
set(DXCPATH ${CURRENT_HOST_INSTALLED_DIR}/tools/directx-dxc)
|
||||
set(EXTRA_OPTIONS -DBUILD_TESTING=OFF)
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_XBOX)
|
||||
set(DXCPATH "${CURRENT_HOST_INSTALLED_DIR}/tools/directx-dxc")
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_DXIL_SHADERS=ON "-DDIRECTX_DXC_PATH=${DXCPATH}")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS} -DBUILD_TESTING=OFF -DBUILD_DXIL_SHADERS=ON -DDIRECTX_DXC_PATH=${DXCPATH}
|
||||
OPTIONS ${FEATURE_OPTIONS} ${EXTRA_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "directxtk12",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 1,
|
||||
"description": "A collection of helper classes for writing DirectX 12 code in C++.",
|
||||
"homepage": "https://github.com/Microsoft/DirectXTK12",
|
||||
"documentation": "https://github.com/microsoft/DirectXTK12/wiki",
|
||||
|
|
@ -9,10 +10,18 @@
|
|||
"dependencies": [
|
||||
{
|
||||
"name": "directx-dxc",
|
||||
"host": true
|
||||
"host": true,
|
||||
"platform": "windows & !xbox"
|
||||
},
|
||||
{
|
||||
"name": "directx-headers",
|
||||
"platform": "windows & !xbox"
|
||||
},
|
||||
"directx-headers",
|
||||
"directxmath",
|
||||
{
|
||||
"name": "ms-gdkx",
|
||||
"platform": "xbox"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "dstorage",
|
||||
"version": "1.1.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "DirectStorage for Windows",
|
||||
"homepage": "https://aka.ms/directstorage/",
|
||||
"documentation": "https://github.com/microsoft/DirectStorage",
|
||||
"license": null,
|
||||
"supports": "windows & !uwp & !staticcrt"
|
||||
"supports": "windows & !uwp & !xbox & !staticcrt"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "dxsdk-d3dx",
|
||||
"version": "9.29.952.8",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "Redistributable package for the legacy DirectX SDK's D3DX9, D3DX10, and/or D3DX11 utility libraries.",
|
||||
"homepage": "https://walbourn.github.io/legacy-d3dx-on-nuget/",
|
||||
"license": null,
|
||||
"supports": "windows & !arm & !uwp & !staticcrt"
|
||||
"supports": "windows & !arm & !uwp & !xbox & !staticcrt"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "dxut",
|
||||
"version": "11.31",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A \"GLUT\"-like framework for Direct3D 11.x Win32 desktop applications",
|
||||
"homepage": "https://github.com/Microsoft/DXUT",
|
||||
"documentation": "https://github.com/microsoft/DXUT/wiki",
|
||||
"license": "MIT",
|
||||
"supports": "windows & !uwp",
|
||||
"supports": "windows & !uwp & !xbox",
|
||||
"dependencies": [
|
||||
"directxmath",
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "effects11",
|
||||
"version": "11.29",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Effects for Direct3D 11 (FX11) is a management runtime for authoring HLSL shaders, render state, and runtime variables together.",
|
||||
"homepage": "https://github.com/Microsoft/FX11",
|
||||
"documentation": "https://github.com/microsoft/FX11/wiki",
|
||||
"license": "MIT",
|
||||
"supports": "windows & !mingw",
|
||||
"supports": "windows & !xbox & !mingw",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
cmake_path(SET GRDKLatest "$ENV{GRDKLatest}")
|
||||
|
||||
find_path(GRDK_H
|
||||
NAMES grdk.h
|
||||
PATHS "${GRDKLatest}/gameKit/Include"
|
||||
)
|
||||
|
||||
cmake_path(SET GXDKLatest "$ENV{GXDKLatest}")
|
||||
|
||||
find_path(GXDK_H
|
||||
NAMES gxdk.h
|
||||
PATHS "${GXDKLatest}/gameKit/Include"
|
||||
)
|
||||
|
||||
if(NOT (GRDK_H AND GXDK_H))
|
||||
message(FATAL_ERROR "Ensure you have installed the Microsoft GDK with Xbox Extensions installed. See https://aka.ms/gdkx.")
|
||||
endif()
|
||||
|
||||
# Output user-friendly status message for installed edition.
|
||||
if(${GXDKLatest} MATCHES ".*/([0-9][0-9])([0-9][0-9])([0-9][0-9])/.*")
|
||||
set(_months "null" "January" "February" "March" "April" "May" "June" "July" "August" "September" "October" "November" "December")
|
||||
list(GET _months ${CMAKE_MATCH_2} month)
|
||||
set(update "")
|
||||
if(${CMAKE_MATCH_3} GREATER 0)
|
||||
set(update " Update ${CMAKE_MATCH_3}")
|
||||
endif()
|
||||
message(STATUS "Found the Microsoft GDK with Xbox Extensions (${month} 20${CMAKE_MATCH_1}${update})")
|
||||
endif()
|
||||
|
||||
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "ms-gdkx",
|
||||
"version": "1.0.0",
|
||||
"description": "Stub port that ensures the Microsoft GDK with Xbox Extensions is installed.",
|
||||
"homepage": "https://aka.ms/gdkx",
|
||||
"documentation": "https://aka.ms/gamedevdocs",
|
||||
"license": null,
|
||||
"supports": "xbox"
|
||||
}
|
||||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"name": "opengl-registry",
|
||||
"version-date": "2022-09-29",
|
||||
"port-version": 1,
|
||||
"description": "the API and Extension registries for the OpenGL family APIs",
|
||||
"homepage": "https://github.com/KhronosGroup/OpenGL-Registry",
|
||||
"supports": "!xbox",
|
||||
"dependencies": [
|
||||
"egl-registry"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"name": "opengl",
|
||||
"version-date": "2022-12-04",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Open Graphics Library (OpenGL)[3][4][5] is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics.",
|
||||
"license": null,
|
||||
"supports": "!xbox",
|
||||
"dependencies": [
|
||||
"opengl-registry"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Microsoft/UVAtlas
|
||||
REF ${UVATLAS_TAG}
|
||||
SHA512 cc44334fe2a372afd8bfa9c508fe59e6b68a3513ab92c0e3fe5657b539641faaa50625a3aafd65d3cb2023a167bfb7158f6b9ac7262d120fe97d48eb3a3742f5
|
||||
REF feb2023b
|
||||
SHA512 4780c6a7f33b7d659e8dd39f48d6adefd22b1a4ed4ff41a1f74614f05048dfed643235d13064a84bd6839642baf9eb7f55f0a8d68db0fb655b7652a7e914fde8
|
||||
HEAD_REF main
|
||||
PATCHES openexr.patch
|
||||
)
|
||||
|
|
@ -24,7 +24,7 @@ vcpkg_check_features(
|
|||
|
||||
set(EXTRA_OPTIONS -DBUILD_TESTING=OFF)
|
||||
|
||||
if(VCPKG_TARGET_IS_UWP)
|
||||
if(VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_IS_XBOX)
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_TOOLS=OFF)
|
||||
else()
|
||||
list(APPEND EXTRA_OPTIONS -DBUILD_TOOLS=ON)
|
||||
|
|
@ -54,7 +54,7 @@ if(VCPKG_HOST_IS_WINDOWS AND (VCPKG_TARGET_ARCHITECTURE MATCHES x64) AND (NOT ("
|
|||
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/tools/uvatlas/uvatlastool-${UVATLAS_TAG}.exe ${CURRENT_PACKAGES_DIR}/tools/uvatlas/uvatlastool.exe)
|
||||
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS AND (NOT VCPKG_TARGET_IS_UWP))
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS AND (NOT VCPKG_TARGET_IS_UWP) AND (NOT VCPKG_TARGET_IS_XBOX))
|
||||
|
||||
vcpkg_copy_tools(
|
||||
TOOL_NAMES uvatlastool
|
||||
|
|
|
|||
|
|
@ -1,14 +1,17 @@
|
|||
{
|
||||
"name": "uvatlas",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "UVAtlas isochart texture atlas",
|
||||
"homepage": "https://github.com/Microsoft/UVAtlas",
|
||||
"documentation": "https://github.com/Microsoft/UVAtlas/wiki",
|
||||
"license": "MIT",
|
||||
"supports": "windows | linux",
|
||||
"dependencies": [
|
||||
"directx-headers",
|
||||
{
|
||||
"name": "directx-headers",
|
||||
"platform": "(windows & !xbox) | linux"
|
||||
},
|
||||
"directxmath",
|
||||
{
|
||||
"name": "directxmesh",
|
||||
|
|
@ -19,6 +22,10 @@
|
|||
"default-features": false,
|
||||
"platform": "!(uwp | linux)"
|
||||
},
|
||||
{
|
||||
"name": "ms-gdkx",
|
||||
"platform": "xbox"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
{
|
||||
"name": "vulkan-headers",
|
||||
"version": "1.3.239",
|
||||
"port-version": 1,
|
||||
"description": "Vulkan header files and API registry",
|
||||
"homepage": "https://github.com/KhronosGroup/Vulkan-Headers",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!xbox",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
{
|
||||
"name": "vulkan-hpp",
|
||||
"version": "1.3.231",
|
||||
"port-version": 1,
|
||||
"description": "Header only C++ bindings for the Vulkan C API",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!xbox",
|
||||
"dependencies": [
|
||||
"vulkan"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "vulkan",
|
||||
"version": "1.1.82.1",
|
||||
"port-version": 3,
|
||||
"description": "A graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs on a wide variety of devices."
|
||||
"port-version": 4,
|
||||
"description": "A graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs on a wide variety of devices.",
|
||||
"supports": "!xbox"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"name": "xaudio2redist",
|
||||
"version": "1.2.11",
|
||||
"port-version": 1,
|
||||
"description": "Redistributable version of XAudio 2.9 for Windows 7 SP1 or later",
|
||||
"homepage": "https://aka.ms/XAudio2Redist",
|
||||
"documentation": "https://aka.ms/XAudio2Redist",
|
||||
"license": null,
|
||||
"supports": "windows & !arm & !uwp"
|
||||
"supports": "windows & !arm & !uwp & !xbox"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,23 @@
|
|||
<_ZVcpkgInstalledDir Condition="'$(_ZVcpkgInstalledDir)' != '' and !$(_ZVcpkgInstalledDir.EndsWith('\'))">$(_ZVcpkgInstalledDir)\</_ZVcpkgInstalledDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Special-case custom MSBuild platforms defined in the Microsoft GDK. See https://aka.ms/gdk and https://aka.ms/gdkx -->
|
||||
<PropertyGroup Condition="'$(VcpkgOSTarget)' == '' AND '$(VcpkgPlatformTarget)' == '' AND '$(Platform)'=='Gaming.Desktop.x64'">
|
||||
<VcpkgOSTarget>windows</VcpkgOSTarget>
|
||||
<VcpkgPlatformTarget>x64</VcpkgPlatformTarget>
|
||||
<VcpkgUseMD>true</VcpkgUseMD>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(VcpkgOSTarget)' == '' AND '$(VcpkgPlatformTarget)' == '' AND '$(Platform)'=='Gaming.Xbox.Scarlett.x64'">
|
||||
<VcpkgOSTarget>xbox-scarlett</VcpkgOSTarget>
|
||||
<VcpkgPlatformTarget>x64</VcpkgPlatformTarget>
|
||||
<VcpkgUseMD>false</VcpkgUseMD>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(VcpkgOSTarget)' == '' AND '$(VcpkgPlatformTarget)' == '' AND '$(Platform)'=='Gaming.Xbox.XboxOne.x64'">
|
||||
<VcpkgOSTarget>xbox-xboxone</VcpkgOSTarget>
|
||||
<VcpkgPlatformTarget>x64</VcpkgPlatformTarget>
|
||||
<VcpkgUseMD>false</VcpkgUseMD>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Determine the triplet to use. Note that $(PlatformTarget) is not available at the top of the .vcxproj file. -->
|
||||
<PropertyGroup Condition="'$(VcpkgOSTarget)' == ''">
|
||||
<VcpkgOSTarget>windows</VcpkgOSTarget>
|
||||
|
|
|
|||
|
|
@ -350,7 +350,13 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
|||
elseif(MINGW)
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT mingw-dynamic)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows"))
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT windows)
|
||||
if(XBOX_CONSOLE_TARGET STREQUAL "scarlett")
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT xbox-scarlett)
|
||||
elseif(XBOX_CONSOLE_TARGET STREQUAL "xboxone")
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT xbox-xboxone)
|
||||
else()
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT windows)
|
||||
endif()
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_HOST_SYSTEM_NAME STREQUAL "FreeBSD"))
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT freebsd)
|
||||
endif()
|
||||
|
|
@ -590,7 +596,7 @@ function(add_executable)
|
|||
list(FIND ARGV "MACOSX_BUNDLE" MACOSX_BUNDLE_IDX)
|
||||
if(IMPORTED_IDX EQUAL "-1" AND ALIAS_IDX EQUAL "-1")
|
||||
if(VCPKG_APPLOCAL_DEPS)
|
||||
if(Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "windows|uwp")
|
||||
if(Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "windows|uwp|xbox")
|
||||
z_vcpkg_set_powershell_path()
|
||||
set(EXTRA_OPTIONS "")
|
||||
if(X_VCPKG_APPLOCAL_DEPS_SERIALIZED)
|
||||
|
|
@ -631,7 +637,7 @@ function(add_library)
|
|||
list(FIND ARGS "ALIAS" ALIAS_IDX)
|
||||
if(IMPORTED_IDX EQUAL "-1" AND INTERFACE_IDX EQUAL "-1" AND ALIAS_IDX EQUAL "-1")
|
||||
get_target_property(IS_LIBRARY_SHARED "${target_name}" TYPE)
|
||||
if(VCPKG_APPLOCAL_DEPS AND Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "windows|uwp" AND (IS_LIBRARY_SHARED STREQUAL "SHARED_LIBRARY" OR IS_LIBRARY_SHARED STREQUAL "MODULE_LIBRARY"))
|
||||
if(VCPKG_APPLOCAL_DEPS AND Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "windows|uwp|xbox" AND (IS_LIBRARY_SHARED STREQUAL "SHARED_LIBRARY" OR IS_LIBRARY_SHARED STREQUAL "MODULE_LIBRARY"))
|
||||
z_vcpkg_set_powershell_path()
|
||||
add_custom_command(TARGET "${target_name}" POST_BUILD
|
||||
COMMAND "${Z_VCPKG_POWERSHELL_PATH}" -noprofile -executionpolicy Bypass -file "${Z_VCPKG_TOOLCHAIN_DIR}/msbuild/applocal.ps1"
|
||||
|
|
@ -672,7 +678,7 @@ function(x_vcpkg_install_local_dependencies)
|
|||
message(FATAL_ERROR "DESTINATION must be specified")
|
||||
endif()
|
||||
|
||||
if(Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "^(windows|uwp)$")
|
||||
if(Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "^(windows|uwp|xbox-.*)$")
|
||||
# Install CODE|SCRIPT allow the use of generator expressions
|
||||
cmake_policy(SET CMP0087 NEW) # CMake 3.14
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,154 @@
|
|||
if(NOT _VCPKG_WINDOWS_TOOLCHAIN)
|
||||
set(_VCPKG_WINDOWS_TOOLCHAIN 1)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<STREQUAL:${VCPKG_CRT_LINKAGE},dynamic>:DLL>" CACHE STRING "")
|
||||
|
||||
set(CMAKE_SYSTEM_NAME Windows CACHE STRING "")
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
set(CMAKE_SYSTEM_PROCESSOR AMD64 CACHE STRING "")
|
||||
else()
|
||||
message(FATAL_ERROR "Xbox requires x64 native target.")
|
||||
endif()
|
||||
|
||||
if(DEFINED VCPKG_CMAKE_SYSTEM_VERSION)
|
||||
set(CMAKE_SYSTEM_VERSION "${VCPKG_CMAKE_SYSTEM_VERSION}" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CROSSCOMPILING ON CACHE STRING "")
|
||||
|
||||
if(NOT DEFINED CMAKE_SYSTEM_VERSION)
|
||||
set(CMAKE_SYSTEM_VERSION "${CMAKE_HOST_SYSTEM_VERSION}" CACHE STRING "")
|
||||
endif()
|
||||
|
||||
# Add the Microsoft GDK if present
|
||||
if (DEFINED ENV{GRDKLatest})
|
||||
cmake_path(SET _vcpkg_grdk "$ENV{GRDKLatest}")
|
||||
|
||||
include_directories(BEFORE SYSTEM "${_vcpkg_grdk}/gameKit/Include")
|
||||
cmake_path(CONVERT "${_vcpkg_grdk}/gameKit/Include" TO_NATIVE_PATH_LIST _vcpkg_inc NORMALIZE)
|
||||
|
||||
link_directories(BEFORE SYSTEM "${_vcpkg_grdk}/gameKit/Lib/amd64")
|
||||
cmake_path(CONVERT "${_vcpkg_grdk}/gameKit/Lib/amd64" TO_NATIVE_PATH_LIST _vcpkg_lib NORMALIZE)
|
||||
endif()
|
||||
|
||||
# Add the Microsoft GDK Xbox Extensions if present
|
||||
if (DEFINED ENV{GXDKLatest})
|
||||
cmake_path(SET _vcpkg_gxdk "$ENV{GXDKLatest}")
|
||||
|
||||
if(XBOX_CONSOLE_TARGET STREQUAL "scarlett")
|
||||
include_directories(BEFORE SYSTEM "${_vcpkg_gxdk}/gameKit/Include" "${_vcpkg_gxdk}/gameKit/Include/Scarlett")
|
||||
cmake_path(CONVERT "${_vcpkg_gxdk}/gameKit/Include;${_vcpkg_gxdk}/gameKit/Include/Scarlett" TO_NATIVE_PATH_LIST _vcpkg_inc NORMALIZE)
|
||||
|
||||
link_directories(BEFORE SYSTEM "${_vcpkg_gxdk}/gameKit/Lib/amd64" "${_vcpkg_gxdk}/gameKit/Include/Lib/amd64/Scarlett")
|
||||
cmake_path(CONVERT "${_vcpkg_gxdk}/gameKit/Lib/amd64;${_vcpkg_gxdk}/gameKit/Include/Lib/amd64/Scarlett" TO_NATIVE_PATH_LIST _vcpkg_lib NORMALIZE)
|
||||
elseif(XBOX_CONSOLE_TARGET STREQUAL "xboxone")
|
||||
include_directories(BEFORE SYSTEM "${_vcpkg_gxdk}/gameKit/Include" "${_vcpkg_gxdk}/gameKit/Include/XboxOne")
|
||||
cmake_path(CONVERT "${_vcpkg_gxdk}/gameKit/Include;${_vcpkg_gxdk}/gameKit/Include/XboxOne" TO_NATIVE_PATH_LIST _vcpkg_inc NORMALIZE)
|
||||
|
||||
link_directories(BEFORE SYSTEM "${_vcpkg_gxdk}/gameKit/Lib/amd64" "${_vcpkg_gxdk}/gameKit/Include/Lib/amd64/XboxOne")
|
||||
cmake_path(CONVERT "${_vcpkg_gxdk}/gameKit/Lib/amd64;${_vcpkg_gxdk}/gameKit/Include/Lib/amd64/XboxOne" TO_NATIVE_PATH_LIST _vcpkg_lib NORMALIZE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(DEFINED _vcpkg_inc)
|
||||
set(ENV{INCLUDE} "${_vcpkg_inc};$ENV{INCLUDE}")
|
||||
set(ENV{LIB} "${_vcpkg_lib};$ENV{LIB}")
|
||||
endif()
|
||||
|
||||
unset(_vcpkg_inc)
|
||||
unset(_vcpkg_lib)
|
||||
|
||||
get_property( _CMAKE_IN_TRY_COMPILE GLOBAL PROPERTY IN_TRY_COMPILE )
|
||||
if(NOT _CMAKE_IN_TRY_COMPILE)
|
||||
|
||||
set(_vcpkg_core_libs onecore_apiset.lib)
|
||||
set(_vcpkg_default_lib onecore_apiset.lib)
|
||||
|
||||
set(_vcpkg_cpp_flags "/DWIN32 /D_WINDOWS /D_UNICODE /DUNICODE /DWINAPI_FAMILY=WINAPI_FAMILY_GAMES /D_WIN32_WINNT=0x0A00 /D_ATL_NO_DEFAULT_LIBS /D__WRL_NO_DEFAULT_LIB__ /D__WRL_CLASSIC_COM_STRICT__ /D_UITHREADCTXT_SUPPORT=0 /D_CRT_USE_WINAPI_PARTITION_APP")
|
||||
set(_vcpkg_common_flags "/nologo /Z7 /MP /GS /Gd /W3 /WX- /Zc:wchar_t /Zc:inline /Zc:forScope /fp:precise /Oy- /EHsc /utf-8")
|
||||
|
||||
# Add the Microsoft GDK if present
|
||||
if (DEFINED _vcpkg_grdk)
|
||||
string(APPEND _vcpkg_core_libs " xgameruntime.lib")
|
||||
endif()
|
||||
|
||||
# Add the Microsoft GDK Xbox Extensions if present
|
||||
if (DEFINED _vcpkg_gxdk)
|
||||
if(XBOX_CONSOLE_TARGET STREQUAL "scarlett")
|
||||
string(APPEND _vcpkg_cpp_flags " /D_GAMING_XBOX /D_GAMING_XBOX_SCARLETT")
|
||||
|
||||
set(_vcpkg_core_libs "xgameplatform.lib xgameruntime.lib")
|
||||
set(_vcpkg_default_lib xgameplatform.lib)
|
||||
elseif(XBOX_CONSOLE_TARGET STREQUAL "xboxone")
|
||||
string(APPEND _vcpkg_cpp_flags " /D_GAMING_XBOX /D_GAMING_XBOX_XBOXONE")
|
||||
|
||||
set(_vcpkg_core_libs "xgameplatform.lib xgameruntime.lib")
|
||||
set(_vcpkg_default_lib xgameplatform.lib)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_STANDARD_LIBRARIES_INIT "${_vcpkg_core_libs}" CACHE INTERNAL "")
|
||||
set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${_vcpkg_core_libs}" CACHE INTERNAL "")
|
||||
|
||||
set(CMAKE_C_STANDARD_LIBRARIES ${CMAKE_C_STANDARD_LIBRARIES_INIT} CACHE STRING "" FORCE)
|
||||
set(CMAKE_CXX_STANDARD_LIBRARIES ${CMAKE_CXX_STANDARD_LIBRARIES_INIT} CACHE STRING "" FORCE)
|
||||
|
||||
unset(_vcpkg_core_libs)
|
||||
|
||||
if(VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
||||
set(VCPKG_CRT_LINK_FLAG_PREFIX "/MD")
|
||||
elseif(VCPKG_CRT_LINKAGE STREQUAL "static")
|
||||
set(VCPKG_CRT_LINK_FLAG_PREFIX "/MT")
|
||||
else()
|
||||
message(FATAL_ERROR "Invalid setting for VCPKG_CRT_LINKAGE: \"${VCPKG_CRT_LINKAGE}\". It must be \"static\" or \"dynamic\"")
|
||||
endif()
|
||||
|
||||
if(XBOX_CONSOLE_TARGET STREQUAL "scarlett")
|
||||
string(APPEND _vcpkg_common_flags " /favor:AMD64 /arch:AVX2")
|
||||
elseif(XBOX_CONSOLE_TARGET STREQUAL "xboxone")
|
||||
string(APPEND _vcpkg_common_flags " /favor:AMD64 /arch:AVX")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${_vcpkg_cpp_flags} ${_vcpkg_common_flags} ${VCPKG_CXX_FLAGS}" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS "${_vcpkg_cpp_flags} ${_vcpkg_common_flags} ${VCPKG_C_FLAGS}" CACHE STRING "")
|
||||
set(CMAKE_RC_FLAGS "-c65001 ${_vcpkg_cpp_flags}" CACHE STRING "")
|
||||
|
||||
unset(_vcpkg_cpp_flags)
|
||||
unset(_vcpkg_common_flags)
|
||||
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG ${VCPKG_CRT_LINK_FLAG_PREFIX}d /Od /RTC1 ${VCPKG_CXX_FLAGS_DEBUG}" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS_DEBUG "/D_DEBUG ${VCPKG_CRT_LINK_FLAG_PREFIX}d /Od /RTC1 ${VCPKG_C_FLAGS_DEBUG}" CACHE STRING "")
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${VCPKG_CRT_LINK_FLAG_PREFIX} /O2 /Oi /Gy /DNDEBUG ${VCPKG_CXX_FLAGS_RELEASE}" CACHE STRING "")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${VCPKG_CRT_LINK_FLAG_PREFIX} /O2 /Oi /Gy /DNDEBUG ${VCPKG_C_FLAGS_RELEASE}" CACHE STRING "")
|
||||
|
||||
string(APPEND CMAKE_STATIC_LINKER_FLAGS_RELEASE_INIT " /nologo ")
|
||||
|
||||
# oldnames.lib is not in this list as many open source libraries still rely on the older non-compliant POSIX function names.
|
||||
set(_vcpkg_unsupported advapi32.lib comctl32.lib comsupp.lib dbghelp.lib gdi32.lib gdiplus.lib guardcfw.lib mmc.lib msimg32.lib msvcole.lib msvcoled.lib mswsock.lib ntstrsafe.lib ole2.lib ole2autd.lib ole2auto.lib ole2d.lib ole2ui.lib ole2uid.lib ole32.lib oleacc.lib oleaut32.lib oledlg.lib oledlgd.lib runtimeobject.lib shell32.lib shlwapi.lib strsafe.lib urlmon.lib user32.lib userenv.lib wlmole.lib wlmoled.lib onecore.lib)
|
||||
set (_vcpkg_nodefaultlib "/NODEFAULTLIB:kernel32.lib")
|
||||
foreach(arg ${_vcpkg_unsupported})
|
||||
string(APPEND _vcpkg_nodefaultlib " /NODEFAULTLIB:${arg}")
|
||||
endforeach()
|
||||
|
||||
# Some upstream projects don't respect STANDARD_LIBRARIES_INIT and rely on default libs instead.
|
||||
set(_vcpkg_common_lflags "/MANIFEST:NO /NXCOMPAT /DYNAMICBASE /DEBUG /MANIFESTUAC:NO /SUBSYSTEM:WINDOWS,10.0 /DEFAULTLIB:${_vcpkg_default_lib}")
|
||||
|
||||
string(APPEND CMAKE_SHARED_LINKER_FLAGS " ${_vcpkg_common_lflags} ${VCPKG_LINKER_FLAGS} ${_vcpkg_nodefaultlib}")
|
||||
string(APPEND CMAKE_EXE_LINKER_FLAGS " ${_vcpkg_common_lflags} ${VCPKG_LINKER_FLAGS} ${_vcpkg_nodefaultlib}")
|
||||
|
||||
unset(_vcpkg_unsupported)
|
||||
unset(_vcpkg_nodefaultlib)
|
||||
unset(_vcpkg_default_lib)
|
||||
unset(_vcpkg_common_lflags)
|
||||
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "/DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ${VCPKG_LINKER_FLAGS_RELEASE}" CACHE STRING "")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ${VCPKG_LINKER_FLAGS_RELEASE}" CACHE STRING "")
|
||||
string(APPEND CMAKE_STATIC_LINKER_FLAGS_DEBUG_INIT " /nologo ")
|
||||
string(APPEND CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT " /nologo ")
|
||||
string(APPEND CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT " /nologo ${VCPKG_LINKER_FLAGS} ${VCPKG_LINKER_FLAGS_DEBUG} ")
|
||||
endif()
|
||||
|
||||
unset(_vcpkg_grdk)
|
||||
unset(_vcpkg_gxdk)
|
||||
endif()
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
set(VCPKG_ENV_PASSTHROUGH GameDKLatest GRDKLatest GXDKLatest)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DXBOX_CONSOLE_TARGET=scarlett")
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/../../scripts/toolchains/xbox.cmake")
|
||||
set(VCPKG_LOAD_VCVARS_ENV ON)
|
||||
set(VCPKG_TARGET_IS_XBOX ON)
|
||||
set(VCPKG_DEP_INFO_OVERRIDE_VARS xbox)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
set(VCPKG_ENV_PASSTHROUGH GameDKLatest GRDKLatest GXDKLatest)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DXBOX_CONSOLE_TARGET=scarlett")
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/../../scripts/toolchains/xbox.cmake")
|
||||
set(VCPKG_LOAD_VCVARS_ENV ON)
|
||||
set(VCPKG_TARGET_IS_XBOX ON)
|
||||
set(VCPKG_DEP_INFO_OVERRIDE_VARS xbox)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
set(VCPKG_ENV_PASSTHROUGH GameDKLatest GRDKLatest GXDKLatest)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DXBOX_CONSOLE_TARGET=xboxone")
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/../../scripts/toolchains/xbox.cmake")
|
||||
set(VCPKG_LOAD_VCVARS_ENV ON)
|
||||
set(VCPKG_TARGET_IS_XBOX ON)
|
||||
set(VCPKG_DEP_INFO_OVERRIDE_VARS xbox)
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
set(VCPKG_ENV_PASSTHROUGH GameDKLatest GRDKLatest GXDKLatest)
|
||||
set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
|
||||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DXBOX_CONSOLE_TARGET=xboxone")
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/../../scripts/toolchains/xbox.cmake")
|
||||
set(VCPKG_LOAD_VCVARS_ENV ON)
|
||||
set(VCPKG_TARGET_IS_XBOX ON)
|
||||
set(VCPKG_DEP_INFO_OVERRIDE_VARS xbox)
|
||||
|
|
@ -1934,7 +1934,7 @@
|
|||
},
|
||||
"d3dx12": {
|
||||
"baseline": "may2021",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"darknet": {
|
||||
"baseline": "2022-03-06",
|
||||
|
|
@ -2022,11 +2022,11 @@
|
|||
},
|
||||
"directx-dxc": {
|
||||
"baseline": "2023-03-01",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"directx-headers": {
|
||||
"baseline": "1.608.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"directxmath": {
|
||||
"baseline": "2022-12-12",
|
||||
|
|
@ -2034,23 +2034,23 @@
|
|||
},
|
||||
"directxmesh": {
|
||||
"baseline": "2022-12-15",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"directxsdk": {
|
||||
"baseline": "jun10",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"directxtex": {
|
||||
"baseline": "2023-01-31",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"directxtk": {
|
||||
"baseline": "2023-02-06",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"directxtk12": {
|
||||
"baseline": "2023-02-06",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"dirent": {
|
||||
"baseline": "1.23.2",
|
||||
|
|
@ -2126,7 +2126,7 @@
|
|||
},
|
||||
"dstorage": {
|
||||
"baseline": "1.1.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"dtl": {
|
||||
"baseline": "1.20",
|
||||
|
|
@ -2154,11 +2154,11 @@
|
|||
},
|
||||
"dxsdk-d3dx": {
|
||||
"baseline": "9.29.952.8",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"dxut": {
|
||||
"baseline": "11.31",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"eabase": {
|
||||
"baseline": "2.09.12",
|
||||
|
|
@ -2218,7 +2218,7 @@
|
|||
},
|
||||
"effects11": {
|
||||
"baseline": "11.29",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"effolkronium-random": {
|
||||
"baseline": "1.4.1",
|
||||
|
|
@ -5228,6 +5228,10 @@
|
|||
"baseline": "alias",
|
||||
"port-version": 1
|
||||
},
|
||||
"ms-gdkx": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"ms-gltf": {
|
||||
"baseline": "2022-06-28",
|
||||
"port-version": 1
|
||||
|
|
@ -5726,11 +5730,11 @@
|
|||
},
|
||||
"opengl": {
|
||||
"baseline": "2022-12-04",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"opengl-registry": {
|
||||
"baseline": "2022-09-29",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"openh264": {
|
||||
"baseline": "2021-03-16",
|
||||
|
|
@ -8058,7 +8062,7 @@
|
|||
},
|
||||
"uvatlas": {
|
||||
"baseline": "2023-02-06",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"uvw": {
|
||||
"baseline": "2.12.1",
|
||||
|
|
@ -8226,15 +8230,15 @@
|
|||
},
|
||||
"vulkan": {
|
||||
"baseline": "1.1.82.1",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"vulkan-headers": {
|
||||
"baseline": "1.3.239",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"vulkan-hpp": {
|
||||
"baseline": "1.3.231",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"vulkan-memory-allocator": {
|
||||
"baseline": "3.0.1",
|
||||
|
|
@ -8418,7 +8422,7 @@
|
|||
},
|
||||
"xaudio2redist": {
|
||||
"baseline": "1.2.11",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"xbitmaps": {
|
||||
"baseline": "1.1.2",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "58c793e97434f798e4cb9f43c32f4653ecc5b8c7",
|
||||
"version-string": "may2021",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "34415699a49eb16898e8190a101c6f6e026b1b3d",
|
||||
"version-string": "may2021",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d9531dd561af13a58e38e173002e599c7ad1182f",
|
||||
"version-date": "2023-03-01",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "77fecec712c29a857b7036d0ccc817488df868ea",
|
||||
"version-date": "2023-03-01",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9e443c72abae6f6a090ba8eec8983b7d5a99c4e4",
|
||||
"version": "1.608.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "8e739e5fb68db3d2e372c5434891f6a3322313ea",
|
||||
"version": "1.608.2",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1611f6525922335db956702b8c81357c38b4d497",
|
||||
"version-date": "2022-12-15",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "bd91052caa19a0a0a99a2918109b247efe659285",
|
||||
"version-date": "2022-12-15",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d39d11be448d2aae6541b902b33dcf23282250f2",
|
||||
"version-string": "jun10",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "8bed733174eb790455d8da61a3df3d89a631365d",
|
||||
"version-string": "jun10",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ce86b52d28836d76d7d62265633440c76f5cc28a",
|
||||
"version-date": "2023-01-31",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "b2a18dead4ee1fa01ceb63667d93bd1080822fb2",
|
||||
"version-date": "2023-01-31",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5bcf0651d2cc84914169b0c253588d6b247e1617",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "537a0f7f223101fa1be1efae3571d3ac23bc43c6",
|
||||
"version-date": "2023-02-06",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f546a33c817a7307dae695d1d83cca865ceec6d8",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "5e0967bd8b20e3ea4986bf4005fca2004eda4db1",
|
||||
"version-date": "2023-02-06",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "065715cb0fcd3b94934da5de3db5e2341cf1912c",
|
||||
"version": "1.1.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "e85e5404767b7d1564fc9e6d3f8b47c3ecbc5218",
|
||||
"version": "1.1.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b12c3d78e879e1cd9608e02851132ae683bb587e",
|
||||
"version": "9.29.952.8",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "14db52bb5daba8ba8e0a93b0e41ffa676935923a",
|
||||
"version": "9.29.952.8",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "878ebc5ed10a20cb6d6c292e44b6eb7163296a0f",
|
||||
"version": "11.31",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "6f6db537bddc74fb2d3c03d675f96af414d9aea9",
|
||||
"version": "11.31",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fe385ae61317ac6744d0587322237979de227284",
|
||||
"version": "11.29",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "542cec9c6fdc2ace4d1d4a6ec4dfe4e70c1f6dcc",
|
||||
"version": "11.29",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "db060bcb7476b1f3f593027c28f4ff5e8589da7b",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "367e1502c966f1df0656bdea115989650d01a781",
|
||||
"version-date": "2022-09-29",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3456b7358048ad983b423973eca86e19d7939bd4",
|
||||
"version-date": "2022-09-29",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "23351e9e47639fa099352a258530b4c70dbc3ad5",
|
||||
"version-date": "2022-12-04",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "33c32aa5adc82e67aa6c03d9302010b706a1f872",
|
||||
"version-date": "2022-12-04",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "447767eafcf76143e72ee08847c27bbc8c604deb",
|
||||
"version-date": "2023-02-06",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "529a01d54dab048985a62e6f517e8fa007c48238",
|
||||
"version-date": "2023-02-06",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "052634f8b28833b2d5302a0b4437031908eecde6",
|
||||
"version": "1.3.239",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "f7ca3a0cb7523e883530931e29520c17d42352e9",
|
||||
"version": "1.3.239",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "794ed471d4b90ebb0ecad8adbb2f10fb57a7f0f6",
|
||||
"version": "1.3.231",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "4b9270c54ab5a767a060ec2d10f6b7fc02689d34",
|
||||
"version": "1.3.231",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a0810feaa193deb10db91cd9cfe727a13fba5b84",
|
||||
"version": "1.1.82.1",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "bb172f7bc0075f17c4b1c9f1068adfbb2bc4b3a8",
|
||||
"version": "1.1.82.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ea44b309cb33ba705034f328310347d43680d0ee",
|
||||
"version": "1.2.11",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9fe9f57e0b392108fb66f0ee68186bdb819dedbf",
|
||||
"version": "1.2.11",
|
||||
|
|
|
|||
Loading…
Reference in New Issue