[Scummvm-git-logs] scummvm master -> 224729ebdeddb0363e2a8f16e6fe60af224301cd
lephilousophe
lephilousophe at users.noreply.github.com
Sun Apr 11 08:40:34 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
224729ebde BUILD: Add GIF to Apple specific build code
Commit: 224729ebdeddb0363e2a8f16e6fe60af224301cd
https://github.com/scummvm/scummvm/commit/224729ebdeddb0363e2a8f16e6fe60af224301cd
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-04-11T10:34:57+02:00
Commit Message:
BUILD: Add GIF to Apple specific build code
Changed paths:
devtools/create_project/xcode.cpp
ports.mk
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index 77f91fdece..7ef429f31d 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -486,6 +486,9 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
if (CONTAINS_DEFINE(setup.defines, "USE_PNG")) {
DEF_LOCALLIB_STATIC("libpng");
}
+ if (CONTAINS_DEFINE(setup.defines, "USE_GIF")) {
+ DEF_LOCALLIB_STATIC("libgif");
+ }
if (CONTAINS_DEFINE(setup.defines, "USE_OGG")) {
DEF_LOCALLIB_STATIC("libogg");
}
@@ -570,6 +573,9 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
if (CONTAINS_DEFINE(setup.defines, "USE_PNG")) {
frameworks_iOS.push_back("libpng.a");
}
+ if (CONTAINS_DEFINE(setup.defines, "USE_GIF")) {
+ frameworks_iOS.push_back("libgif.a");
+ }
if (CONTAINS_DEFINE(setup.defines, "USE_OGG")) {
frameworks_iOS.push_back("libogg.a");
}
@@ -684,6 +690,9 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
if (CONTAINS_DEFINE(setup.defines, "USE_PNG")) {
frameworks_osx.push_back("libpng.a");
}
+ if (CONTAINS_DEFINE(setup.defines, "USE_GIF")) {
+ frameworks_osx.push_back("libgif.a");
+ }
if (CONTAINS_DEFINE(setup.defines, "USE_OGG")) {
frameworks_osx.push_back("libogg.a");
}
diff --git a/ports.mk b/ports.mk
index 8be0d435cf..bc740a6e5e 100644
--- a/ports.mk
+++ b/ports.mk
@@ -426,6 +426,10 @@ ifdef USE_PNG
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libpng.a
endif
+ifdef USE_GIF
+OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libgif.a
+endif
+
ifdef USE_THEORADEC
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libtheoradec.a
endif
More information about the Scummvm-git-logs
mailing list