Skip to content

Commit af3585e

Browse files
authored
[ms-gdk] Rewrite port for new layout October 2025 packages (microsoft#48263)
1 parent 4698b36 commit af3585e

File tree

7 files changed

+237
-70
lines changed

7 files changed

+237
-70
lines changed

ports/ms-gdk/gdk-config.cmake.in

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
get_filename_component(_msgdk_root "${CMAKE_CURRENT_LIST_DIR}" PATH)
2+
get_filename_component(_msgdk_root "${_msgdk_root}" PATH)
3+
4+
# GameRuntime Library
5+
add_library(Xbox::GameRuntime STATIC IMPORTED)
6+
set_target_properties(Xbox::GameRuntime PROPERTIES
7+
IMPORTED_LOCATION "${_msgdk_root}/lib/xgameruntime.lib"
8+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
9+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
10+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include"
11+
INTERFACE_COMPILE_FEATURES "cxx_std_11"
12+
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX")
13+
14+
if (EXISTS "${_msgdk_root}/lib/XCurl.lib")
15+
# XCurl
16+
add_library(Xbox::XCurl SHARED IMPORTED)
17+
set_target_properties(Xbox::XCurl PROPERTIES
18+
IMPORTED_LOCATION "${_msgdk_root}/bin/XCurl.dll"
19+
IMPORTED_IMPLIB "${_msgdk_root}/lib/XCurl.lib"
20+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
21+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
22+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include")
23+
24+
# Xbox.Services.API.C (requires XCurl)
25+
add_library(Xbox::XSAPI STATIC IMPORTED)
26+
set_target_properties(Xbox::XSAPI PROPERTIES
27+
IMPORTED_LOCATION_RELEASE "${_msgdk_root}/lib/Microsoft.Xbox.Services.@[email protected]"
28+
IMPORTED_LOCATION_DEBUG "${_msgdk_root}/debug/lib/Microsoft.Xbox.Services.@[email protected]"
29+
IMPORTED_CONFIGURATIONS "RELEASE;DEBUG"
30+
MAP_IMPORTED_CONFIG_MINSIZEREL Release
31+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
32+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include"
33+
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX")
34+
35+
# Xbox::HTTPClient
36+
add_library(Xbox::HTTPClient SHARED IMPORTED)
37+
set_target_properties(Xbox::HTTPClient PROPERTIES
38+
IMPORTED_LOCATION "${_msgdk_root}/bin/libHttpClient.dll"
39+
IMPORTED_IMPLIB "${_msgdk_root}/lib/libHttpClient.lib"
40+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
41+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
42+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include")
43+
44+
target_link_libraries(Xbox::XSAPI INTERFACE Xbox::HTTPClient Xbox::XCurl appnotify.lib winhttp.lib crypt32.lib)
45+
46+
# GameChat2
47+
add_library(Xbox::GameChat2 SHARED IMPORTED)
48+
set_target_properties(Xbox::GameChat2 PROPERTIES
49+
IMPORTED_LOCATION "${_msgdk_root}/bin/GameChat2.dll"
50+
IMPORTED_IMPLIB "${_msgdk_root}/lib/GameChat2.lib"
51+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
52+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
53+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include")
54+
endif()
55+
56+
if (@BUILD_PLAYFAB_SERVICES@ AND (EXISTS "${_msgdk_root}/lib/PlayFabCore.lib"))
57+
# PlayFab Multiplayer (requires XCurl)
58+
add_library(Xbox::PlayFabMultiplayer SHARED IMPORTED)
59+
set_target_properties(Xbox::PlayFabMultiplayer PROPERTIES
60+
IMPORTED_LOCATION "${_msgdk_root}/bin/PlayFabMultiplayer.dll"
61+
IMPORTED_IMPLIB "${_msgdk_root}/lib/PlayFabMultiplayer.lib"
62+
IMPORTED_LINK_DEPENDENT_LIBRARIES Xbox::XCurl
63+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
64+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
65+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include")
66+
67+
target_link_libraries(Xbox::PlayFabMultiplayer INTERFACE Xbox::XCurl)
68+
69+
# PlayFab Services (requires XCurl)
70+
add_library(Xbox::PlayFabServices SHARED IMPORTED)
71+
set_target_properties(Xbox::PlayFabServices PROPERTIES
72+
IMPORTED_LOCATION "${_msgdk_root}/bin/PlayFabServices.dll"
73+
IMPORTED_IMPLIB "${_msgdk_root}/lib/PlayFabServices.lib"
74+
IMPORTED_LINK_DEPENDENT_LIBRARIES Xbox::XCurl
75+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
76+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
77+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include"
78+
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX")
79+
80+
add_library(Xbox::PlayFabCore SHARED IMPORTED)
81+
set_target_properties(Xbox::PlayFabCore PROPERTIES
82+
IMPORTED_LOCATION "${_msgdk_root}/bin/PlayFabCore.dll"
83+
IMPORTED_IMPLIB "${_msgdk_root}/lib/PlayFabCore.lib"
84+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
85+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
86+
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX")
87+
88+
target_link_libraries(Xbox::PlayFabServices INTERFACE Xbox::PlayFabCore Xbox::XCurl)
89+
90+
# PlayFab Party
91+
add_library(Xbox::PlayFabParty SHARED IMPORTED)
92+
set_target_properties(Xbox::PlayFabParty PROPERTIES
93+
IMPORTED_LOCATION "${_msgdk_root}/bin/Party.dll"
94+
IMPORTED_IMPLIB "${_msgdk_root}/lib/Party.lib"
95+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
96+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
97+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include")
98+
99+
# PlayFab Party Xbox LIVE (requires PlayFab Party)
100+
add_library(Xbox::PlayFabPartyLIVE SHARED IMPORTED)
101+
set_target_properties(Xbox::PlayFabPartyLIVE PROPERTIES
102+
IMPORTED_LOCATION "${_msgdk_root}/bin/PartyXboxLive.dll"
103+
IMPORTED_IMPLIB "${_msgdk_root}/lib/PartyXboxLive.lib"
104+
IMPORTED_LINK_DEPENDENT_LIBRARIES Xbox::PlayFabParty
105+
MAP_IMPORTED_CONFIG_MINSIZEREL ""
106+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO ""
107+
INTERFACE_INCLUDE_DIRECTORIES "${_msgdk_root}/include")
108+
109+
target_link_libraries(Xbox::PlayFabPartyLIVE INTERFACE Xbox::PlayFabParty)
110+
endif()
111+
112+
unset(_msgdk_root)

ports/ms-gdk/pfusage

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
2-
find_package(playfab.services.c CONFIG REQUIRED)
31
target_link_libraries(main PRIVATE Xbox::PlayFabServices)
4-
5-
find_package(playfab.multiplayer.cpp CONFIG REQUIRED)
62
target_link_libraries(main PRIVATE Xbox::PlayFabMultiplayer)
7-
8-
find_package(playfab.party.cpp CONFIG REQUIRED)
93
target_link_libraries(main PRIVATE Xbox::PlayFabParty)
10-
11-
find_package(playfab.partyxboxlive.cpp CONFIG REQUIRED)
124
target_link_libraries(main PRIVATE Xbox::PlayFabPartyLIVE)

ports/ms-gdk/portfile.cmake

Lines changed: 114 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
set(GDK_EDITION_NUMBER 250404)
1+
set(GDK_EDITION_NUMBER 251000)
22

33
# The GDK contains a combination of static C++ libraries and DLL-based extension libraries.
44
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
55

6+
vcpkg_download_distfile(ARCHIVE_CORE
7+
URLS "https://www.nuget.org/api/v2/package/Microsoft.GDK.Core/${VERSION}"
8+
FILENAME "ms-gdk-core.${VERSION}.zip"
9+
SHA512 447a9807a746a7922230d185ee60cbeac21caa923662f1994f07df6f08286470aea3ca2ce72c10ef3487e680b7c98651f3612f06481c9606dc0369d5e14bc736
10+
)
11+
612
vcpkg_download_distfile(ARCHIVE
7-
URLS "https://www.nuget.org/api/v2/package/Microsoft.GDK.PC/${VERSION}"
8-
FILENAME "ms-gdk.${VERSION}.zip"
9-
SHA512 143541167d34a6c685bef234ccc03b02e916f286e0d83f1b7dbdd269951b441e5709371270436128aad329a0ff3f4814afaf5d1ed3080989b8e2e0779da51123
13+
URLS "https://www.nuget.org/api/v2/package/Microsoft.GDK.Windows/${VERSION}"
14+
FILENAME "ms-gdk-windows.${VERSION}.zip"
15+
SHA512 4520e870070b7b219a9bca80d2a9d8eab2c833efa4be075aca4da5aefef1cba58e59bf3aef107ae5126e0ad680253cf25d39d4700df86afcdc82f9502f43fd77
16+
)
17+
18+
vcpkg_extract_source_archive(
19+
PACKAGE_PATH_CORE
20+
ARCHIVE "${ARCHIVE_CORE}"
21+
NO_REMOVE_ONE_LEVEL
1022
)
1123

1224
vcpkg_extract_source_archive(
@@ -21,64 +33,125 @@ vcpkg_check_features(
2133
playfab BUILD_PLAYFAB_SERVICES
2234
)
2335

24-
set(GRDK_PATH "${PACKAGE_PATH}/native/${GDK_EDITION_NUMBER}/GRDK")
36+
# Install core tools
37+
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
38+
file(INSTALL "${PACKAGE_PATH_CORE}/native/bin/" DESTINATION "${CURRENT_PACKAGES_DIR}/tools")
39+
file(INSTALL "${PACKAGE_PATH_CORE}/native/bin/GameConfigEditorDependencies" DESTINATION "${CURRENT_PACKAGES_DIR}/tools")
40+
endif()
41+
42+
set(WINDOWS_PATH "${PACKAGE_PATH}/native/${GDK_EDITION_NUMBER}/windows")
2543

2644
# We use the gameinput port instead
27-
file(REMOVE "${GRDK_PATH}/GameKit/Include/GameInput.h")
28-
file(REMOVE "${GRDK_PATH}/GameKit/Lib/amd64/GameInput.lib")
45+
file(REMOVE "${WINDOWS_PATH}/include/GameInput.h")
46+
file(REMOVE "${WINDOWS_PATH}/lib/arm64/GameInput.lib")
47+
file(REMOVE "${WINDOWS_PATH}/lib/x64/GameInput.lib")
48+
49+
# We use the cpprestsdk port instead
50+
file(REMOVE_RECURSE "${WINDOWS_PATH}/include/cpprest")
51+
file(REMOVE_RECURSE "${WINDOWS_PATH}/include/pplx")
52+
53+
# Install core content
54+
set(CORE_BINS xgameruntime.dll xgameruntime.pdb)
55+
set(CORE_INCLUDES grdk.h)
56+
set(CORE_LIBS xgameruntime.lib)
57+
58+
file(GLOB HEADERS "${WINDOWS_PATH}/include/X*.*")
59+
foreach(t IN LISTS HEADERS)
60+
get_filename_component(h ${t} NAME)
61+
list(APPEND CORE_INCLUDES ${h})
62+
endforeach()
63+
64+
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
65+
list(APPEND CORE_BINS xgameruntime.thunks.dll GameChat2.dll GameChat2.pdb libHttpClient.dll libHttpClient.pdb XCurl.dll XCurl.pdb)
66+
list(APPEND CORE_LIBS GameChat2.lib libHttpClient.lib XCurl.lib xgameruntime.thunks.lib)
67+
68+
file(INSTALL "${WINDOWS_PATH}/bin/x64/Microsoft.Xbox.Services.C.Thunks.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
69+
file(INSTALL "${WINDOWS_PATH}/bin/x64/Microsoft.Xbox.Services.C.Thunks.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
70+
file(INSTALL "${WINDOWS_PATH}/lib/x64/Microsoft.Xbox.Services.C.Thunks.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
71+
file(INSTALL "${WINDOWS_PATH}/lib/x64/Microsoft.Xbox.Services.142.C.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
72+
file(INSTALL "${WINDOWS_PATH}/lib/x64/Microsoft.Xbox.Services.142.C.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
73+
74+
file(INSTALL "${WINDOWS_PATH}/bin/x64/Microsoft.Xbox.Services.C.Thunks.Debug.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
75+
file(INSTALL "${WINDOWS_PATH}/bin/x64/Microsoft.Xbox.Services.C.Thunks.Debug.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
76+
file(INSTALL "${WINDOWS_PATH}/lib/x64/Microsoft.Xbox.Services.C.Thunks.Debug.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
77+
file(INSTALL "${WINDOWS_PATH}/lib/x64/Microsoft.Xbox.Services.142.C.Debug.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
78+
file(INSTALL "${WINDOWS_PATH}/lib/x64/Microsoft.Xbox.Services.142.C.Debug.pdb" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
79+
80+
list(APPEND CORE_INCLUDES cpprestsdk_impl.h XCurl.h GameChat2.h GameChat2Impl.h GameChat2_c.h)
81+
82+
set(INCLUDE_DIRS httpClient Xal xsapi-c xsapi-cpp)
83+
endif()
2984

30-
vcpkg_cmake_configure(
31-
SOURCE_PATH "${GRDK_PATH}"
32-
OPTIONS ${FEATURE_OPTIONS}
33-
)
85+
foreach(t IN LISTS CORE_BINS)
86+
file(INSTALL "${WINDOWS_PATH}/bin/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
87+
file(INSTALL "${WINDOWS_PATH}/bin/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
88+
endforeach()
89+
90+
foreach(t IN LISTS CORE_INCLUDES)
91+
file(INSTALL "${WINDOWS_PATH}/include/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
92+
endforeach()
3493

35-
vcpkg_cmake_install()
94+
foreach(t IN LISTS INCLUDE_DIRS)
95+
file(INSTALL "${WINDOWS_PATH}/include/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
96+
endforeach()
3697

37-
vcpkg_cmake_config_fixup(PACKAGE_NAME xbox.gameruntime)
38-
vcpkg_cmake_config_fixup(PACKAGE_NAME xbox.game.chat.2.cpp.api)
39-
vcpkg_cmake_config_fixup(PACKAGE_NAME xbox.libhttpclient)
40-
vcpkg_cmake_config_fixup(PACKAGE_NAME xbox.services.api.c)
41-
vcpkg_cmake_config_fixup(PACKAGE_NAME xbox.xcurl.api)
98+
foreach(t IN LISTS CORE_LIBS)
99+
file(INSTALL "${WINDOWS_PATH}/lib/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
100+
file(INSTALL "${WINDOWS_PATH}/lib/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
101+
endforeach()
42102

103+
# Build license file.
43104
set(LICENSE_FILES "${PACKAGE_PATH}/LICENSE.md")
44105

45106
list(APPEND LICENSE_FILES
46-
"${GRDK_PATH}/ExtensionLibraries/Xbox.LibHttpClient/Include/httpClient/ThirdPartyNotices.txt"
47-
"${GRDK_PATH}/ExtensionLibraries/Xbox.XCurl.API/Include/ThirdPartyNotices.txt"
48-
"${GRDK_PATH}/ExtensionLibraries/Xbox.Services.API.C/Include/cpprest/ThirdPartyNotices.txt"
49-
"${GRDK_PATH}/ExtensionLibraries/Xbox.Services.API.C/Include/pplx/ThirdPartyNotices.txt"
50-
"${GRDK_PATH}/ExtensionLibraries/Xbox.Services.API.C/Include/xsapi-c/ThirdPartyNotices.txt"
51-
"${GRDK_PATH}/ExtensionLibraries/Xbox.Services.API.C/Include/xsapi-cpp/ThirdPartyNotices.txt"
107+
"${WINDOWS_PATH}/include/httpClient/ThirdPartyNotices.txt"
108+
"${WINDOWS_PATH}/include/ThirdPartyNotices.txt"
109+
"${WINDOWS_PATH}/include/xsapi-c/ThirdPartyNotices.txt"
110+
"${WINDOWS_PATH}/include/xsapi-cpp/ThirdPartyNotices.txt"
52111
)
53112

54113
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
55114

115+
# Optional PlayFab components
56116
if("playfab" IN_LIST FEATURES)
57-
vcpkg_cmake_config_fixup(PACKAGE_NAME playfab.multiplayer.cpp)
58-
vcpkg_cmake_config_fixup(PACKAGE_NAME playfab.party.cpp)
59-
vcpkg_cmake_config_fixup(PACKAGE_NAME playfab.partyxboxlive.cpp)
60-
vcpkg_cmake_config_fixup(PACKAGE_NAME playfab.services.c)
61117

62-
list(APPEND LICENSE_FILES
63-
"${GRDK_PATH}/ExtensionLibraries/PlayFab.Multiplayer.Cpp/Include/NOTICE.txt"
64-
"${GRDK_PATH}/ExtensionLibraries/PlayFab.Party.Cpp/Include/NOTICE.txt"
65-
"${GRDK_PATH}/ExtensionLibraries/PlayFab.PartyXboxLive.Cpp/Include/NOTICE.txt"
66-
)
118+
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
119+
set(PF_BINS
120+
PlayFabCore.dll PlayFabCore.pdb PlayFabServices.dll PlayFabServices.pdb PlayFabMultiplayer.dll PlayFabMultiplayer.pdb
121+
Party.dll Party.pdb PartyXboxLive.dll PartyXboxLive.pdb PlayFabGameSave.dll PlayFabGameSave.pdb)
122+
123+
set(PF_LIBS
124+
PlayFabCore.lib PlayFabServices.lib PlayFabMultiplayer.lib
125+
Party.lib PartyXboxLive.lib PlayFabGameSave.lib)
126+
127+
file(INSTALL "${WINDOWS_PATH}/include/playfab" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
128+
file(INSTALL "${WINDOWS_PATH}/include/PFXGameSave.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
129+
endif()
130+
131+
foreach(t IN LISTS PF_BINS)
132+
file(INSTALL "${WINDOWS_PATH}/bin/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
133+
file(INSTALL "${WINDOWS_PATH}/bin/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
134+
endforeach()
135+
136+
foreach(t IN LISTS PF_LIBS)
137+
file(INSTALL "${WINDOWS_PATH}/lib/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
138+
file(INSTALL "${WINDOWS_PATH}/lib/${VCPKG_TARGET_ARCHITECTURE}/${t}" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
139+
endforeach()
140+
141+
list(APPEND LICENSE_FILES "${WINDOWS_PATH}/include/playfab/multiplayer/NOTICE.txt")
67142

68143
file(READ "${CMAKE_CURRENT_LIST_DIR}/pfusage" USAGE_CONTENT)
69144
file(APPEND "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" ${USAGE_CONTENT})
70-
else()
71-
endif()
72145

73-
file(INSTALL "${PACKAGE_PATH}/native/bin/" DESTINATION "${CURRENT_PACKAGES_DIR}/tools")
74-
file(INSTALL "${PACKAGE_PATH}/native/bin/GameConfigEditorDependencies" DESTINATION "${CURRENT_PACKAGES_DIR}/tools")
146+
endif()
75147

76-
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
148+
set(EXT_TOOLSET 142)
149+
configure_file("${CMAKE_CURRENT_LIST_DIR}/gdk-config.cmake.in"
150+
"${CURRENT_PACKAGES_DIR}/share/${PORT}/${PORT}-config.cmake"
151+
@ONLY)
77152

78-
# Uses the cpprestsdk port instead
79-
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/cpprest")
80-
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/pplx")
153+
#file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
81154

82155
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})
83156

84-
message(STATUS "BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS: https://www.nuget.org/packages/Microsoft.GDK.PC/${VERSION}/License")
157+
message(STATUS "BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS: https://www.nuget.org/packages/Microsoft.GDK.Windows/${VERSION}/License")

ports/ms-gdk/usage

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
The Microsoft GDK package provides CMake targets:
22

3-
find_package(xbox.gameruntime CONFIG REQUIRED)
3+
find_package(ms-gdk CONFIG REQUIRED)
44
target_link_libraries(main PRIVATE Xbox::GameRuntime)
5-
6-
find_package(xbox.libhttpclient CONFIG REQUIRED)
75
target_link_libraries(main PRIVATE Xbox::HTTPClient)
8-
9-
find_package(xbox.xcurl.api CONFIG REQUIRED)
106
target_link_libraries(main PRIVATE Xbox::XCurl)
11-
12-
find_package(xbox.services.api.c CONFIG REQUIRED)
137
target_link_libraries(main PRIVATE Xbox::XSAPI)
14-
15-
find_package(xbox.game.chat.2.cpp.api CONFIG REQUIRED)
168
target_link_libraries(main PRIVATE Xbox::GameChat2)

ports/ms-gdk/vcpkg.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
11
{
22
"name": "ms-gdk",
3-
"version": "2504.4.4108",
3+
"version": "2510.0.6194",
44
"description": "Microsoft Game Development Kit (GDK)",
55
"homepage": "https://aka.ms/gdkx",
66
"documentation": "https://aka.ms/gamedevdocs",
77
"license": null,
8-
"supports": "windows & x64 & !uwp & !xbox & !staticcrt",
8+
"supports": "windows & (x64 | arm64) & !uwp & !xbox & !staticcrt",
99
"dependencies": [
1010
{
1111
"name": "cpprestsdk",
1212
"default-features": false
13-
},
14-
{
15-
"name": "vcpkg-cmake",
16-
"host": true
17-
},
18-
{
19-
"name": "vcpkg-cmake-config",
20-
"host": true
2113
}
2214
],
2315
"features": {
2416
"playfab": {
25-
"description": "Include PlayFab Extension Libraries"
17+
"description": "Include PlayFab Extension Libraries",
18+
"supports": "windows & x64 & !uwp & !xbox & !staticcrt"
2619
}
2720
}
2821
}

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6561,7 +6561,7 @@
65616561
"port-version": 1
65626562
},
65636563
"ms-gdk": {
6564-
"baseline": "2504.4.4108",
6564+
"baseline": "2510.0.6194",
65656565
"port-version": 0
65666566
},
65676567
"ms-gdkx": {

versions/m-/ms-gdk.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "87213a136c388c973362a7a9b9fcdd69cde72709",
5+
"version": "2510.0.6194",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "c19c66eeffaeb113a1084f868d8b3a4bbb6437f7",
510
"version": "2504.4.4108",

0 commit comments

Comments
 (0)