BACKENDS: Discord rich presence support

Adds support for showing the currently running game
in a Discord user's game activity.
This commit is contained in:
SupSuper
2020-08-25 10:47:41 +02:00
committed by Eugene Sandulenko
parent 92bd514902
commit bcb7d1f30c
11 changed files with 193 additions and 1 deletions
+3
View File
@@ -497,6 +497,9 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
if (CONTAINS_DEFINE(setup.defines, "USE_ZLIB")) {
DEF_SYSTBD("libz");
}
if (CONTAINS_DEFINE(setup.defines, "USE_DISCORD")) {
DEF_LOCALLIB_STATIC("libdiscord-rpc");
}
if (setup.useSDL2) {
DEF_LOCALLIB_STATIC("libSDL2main");