![Discord GameSDK for CMake-based projects](/borfei/discord-gamesdk-cmake/raw/main/docs/header.png)
Bringing Discord GameSDK to CMake build system.
This project aims to integrate Discord GameSDK into CMake, enabling features like rich presence, voice chat, achievements, and networking. The integration is streamlined for cross-platform compatibility, making it easier to build.
- Add the repository as a sub-module:
git submodule add https://github.com/borfei/discord-gamesdk-cmake.git
- Alternatively, you can download the source code here.
- Manually download the additional SDK files:
- Modify your project's
CMakeLists.txt
:add_subdirectory(<path/to/discord-gamesdk-cmake>) ... target_link_libraries(<TARGET> ... discord_gamesdk)
- Profit
This project is licensed under the Unlicense license, see LICENSE for more information.