diff options
author | Colin Snover | 2017-09-30 12:57:25 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-03 18:56:35 -0500 |
commit | 815e3920a716e75761948599b836af010025a48d (patch) | |
tree | d07658c5271656bd400b87db9ab0f9d7f1ebadc6 /devtools | |
parent | 5c5465190141ec4a291268eb91c7f5ee9048d031 (diff) | |
download | scummvm-rg350-815e3920a716e75761948599b836af010025a48d.tar.gz scummvm-rg350-815e3920a716e75761948599b836af010025a48d.tar.bz2 scummvm-rg350-815e3920a716e75761948599b836af010025a48d.zip |
DEVTOOLS: Add theoradec support to Xcode create_project
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/create_project/xcode.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index 00ef800af4..da4e69860f 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -485,11 +485,14 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) { if (CONTAINS_DEFINE(setup.defines, "USE_PNG")) { DEF_LOCALLIB_STATIC("libpng"); } - if (CONTAINS_DEFINE(setup.defines, "USE_VORBIS")) { + if (CONTAINS_DEFINE(setup.defines, "USE_VORBIS") || CONTAINS_DEFINE(setup.defines, "USE_THEORADEC")) { DEF_LOCALLIB_STATIC("libogg"); DEF_LOCALLIB_STATIC("libvorbis"); DEF_LOCALLIB_STATIC("libvorbisfile"); } + if (CONTAINS_DEFINE(setup.defines, "USE_THEORADEC")) { + DEF_LOCALLIB_STATIC("libtheoradec"); + } if (CONTAINS_DEFINE(setup.defines, "USE_ZLIB")) { DEF_SYSTBD("libz"); } @@ -552,11 +555,14 @@ 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_VORBIS")) { + if (CONTAINS_DEFINE(setup.defines, "USE_VORBIS") || CONTAINS_DEFINE(setup.defines, "USE_THEORADEC")) { frameworks_iOS.push_back("libogg.a"); frameworks_iOS.push_back("libvorbis.a"); frameworks_iOS.push_back("libvorbisfile.a"); } + if (CONTAINS_DEFINE(setup.defines, "USE_THEORADEC")) { + frameworks_iOS.push_back("libtheoradec.a"); + } if (CONTAINS_DEFINE(setup.defines, "USE_MAD")) { frameworks_iOS.push_back("libmad.a"); } @@ -632,11 +638,14 @@ 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_VORBIS")) { + if (CONTAINS_DEFINE(setup.defines, "USE_VORBIS") || CONTAINS_DEFINE(setup.defines, "USE_THEORADEC")) { frameworks_osx.push_back("libogg.a"); frameworks_osx.push_back("libvorbis.a"); frameworks_osx.push_back("libvorbisfile.a"); } + if (CONTAINS_DEFINE(setup.defines, "USE_THEORADEC")) { + frameworks_osx.push_back("libtheoradec.a"); + } if (CONTAINS_DEFINE(setup.defines, "USE_ZLIB")) { frameworks_osx.push_back("libz.tbd"); } |