aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Bénony2016-01-06 10:19:10 +0100
committerVincent Bénony2016-01-06 16:20:29 +0100
commitcbde1ef953706a11c08fdacd034a64040d6e7ee9 (patch)
tree5870978a69cb319c621706b3f9010678537bbfbb
parent9adf7cd57030053f39c84fdcf3037c7184212e63 (diff)
downloadscummvm-rg350-cbde1ef953706a11c08fdacd034a64040d6e7ee9.tar.gz
scummvm-rg350-cbde1ef953706a11c08fdacd034a64040d6e7ee9.tar.bz2
scummvm-rg350-cbde1ef953706a11c08fdacd034a64040d6e7ee9.zip
DEVTOOL: Adds a macro for the iOS 7 target
-rw-r--r--devtools/create_project/xcode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index a4fbbf1cb9..b92146ec7f 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -791,6 +791,7 @@ void XcodeProvider::setupBuildConfiguration(const BuildSetup &setup) {
REMOVE_DEFINE(scummvm_defines, "MACOSX");
REMOVE_DEFINE(scummvm_defines, "IPHONE");
REMOVE_DEFINE(scummvm_defines, "IPHONE_OFFICIAL");
+ REMOVE_DEFINE(scummvm_defines, "IPHONE_OFFICIAL_IOS7");
REMOVE_DEFINE(scummvm_defines, "SDL_BACKEND");
ADD_SETTING_LIST(scummvm_Debug, "GCC_PREPROCESSOR_DEFINITIONS", scummvm_defines, kSettingsNoQuote | kSettingsAsList, 5);
ADD_SETTING(scummvm_Debug, "GCC_THUMB_SUPPORT", "NO");
@@ -877,6 +878,7 @@ void XcodeProvider::setupBuildConfiguration(const BuildSetup &setup) {
ADD_DEFINE(scummvmIOS_defines, "\"$(inherited)\"");
ADD_DEFINE(scummvmIOS_defines, "IPHONE");
ADD_DEFINE(scummvmIOS_defines, "IPHONE_OFFICIAL");
+ ADD_DEFINE(scummvmIOS_defines, "IPHONE_OFFICIAL_IOS7");
ADD_SETTING_LIST(iPhone_Debug, "GCC_PREPROCESSOR_DEFINITIONS", scummvmIOS_defines, kSettingsNoQuote | kSettingsAsList, 5);
ADD_SETTING(iPhone_Debug, "ASSETCATALOG_COMPILER_APPICON_NAME", "AppIcon");
ADD_SETTING(iPhone_Debug, "ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME", "LaunchImage");
@@ -1032,6 +1034,7 @@ void XcodeProvider::setupDefines(const BuildSetup &setup) {
REMOVE_DEFINE(_defines, "MACOSX");
REMOVE_DEFINE(_defines, "IPHONE");
REMOVE_DEFINE(_defines, "IPHONE_OFFICIAL");
+ REMOVE_DEFINE(_defines, "IPHONE_OFFICIAL_IOS7");
REMOVE_DEFINE(_defines, "SDL_BACKEND");
ADD_DEFINE(_defines, "CONFIG_H");
ADD_DEFINE(_defines, "UNIX");