1. Home
  2. Browse
  3. discord-game-sdk

discord-game-sdk

v3.2.1#0Latest

The Discord GameSDK is an easy drop-in SDK to help you manage all the hard things that come with making a game.

Install

Run the following Vcpkg command to install the port.

vcpkg install discord-game-sdk

Usage

The package discord-game-sdk does not provides CMake integration:

find_library(GAME_SDK discord_game_sdk)
target_link_libraries(<my_target> PRIVATE ${GAME_SDK})
find_path(GAME_SDK_INCLUDE discord-game-sdk/discord.h)
target_include_directories(<my_target> PRIVATE ${GAME_SDK_INCLUDE})

The C++ SDK source code is compiled in a static library:

find_library(CPP_GAME_SDK discord_game_sdk_cpp)
target_link_libraries(<my_target> PRIVATE ${CPP_GAME_SDK})

Dependencies

See source

Version

v3.2.1#0

Publication

Supports

((x64 & (windows | osx | linux)) | (x86 & windows) | (arm64 & osx)) & !uwp & !static

Homepage

discord.com/developers/docs/game-sdk/sdk-starter-guide

Subtree

f2446c13a9

License

Complex license

Definition

Manifest