1. Home
  2. ›
  3. Browse
  4. ›
  5. ms-gdk

ms-gdk

v2604.5.7903#0Latest

Microsoft Game Development Kit (GDK)

Install

Run the following Vcpkg command to install the port.

vcpkg install ms-gdk

Usage

The Microsoft GDK headers select their platform from preprocessor definitions.

The CMake targets below define _GAMING_DESKTOP automatically. If you use the

headers without these targets (for example, from MSBuild or a manual include

path), define _GAMING_DESKTOP yourself. In either case, include <windows.h>

before GDK runtime headers such as XGameRuntime.h, XCurl.h, and GameChat2.h.

The Microsoft GDK package provides CMake targets:

find_package(ms-gdk CONFIG REQUIRED)

target_link_libraries(main PRIVATE Xbox::GameRuntime)

target_link_libraries(main PRIVATE Xbox::HTTPClient)

target_link_libraries(main PRIVATE Xbox::XCurl)

target_link_libraries(main PRIVATE Xbox::XSAPI)

target_link_libraries(main PRIVATE Xbox::GameChat2)

Features

See source

Version

v2604.5.7903#0

Publication

Supports

windows & (x64 | arm64) & !uwp & !xbox & !staticcrt

Homepage

aka.ms/gdkx

Documentation

aka.ms/gamedevdocs

Subtree

4a119bac93

License

Complex license

Definition

Manifest