[Scummvm-git-logs] scummvm master -> b4b91b1fadeefdfd3375b15c3cb36fb3efdd0301

criezy criezy at scummvm.org
Sat Sep 26 14:37:11 UTC 2020


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:
b4b91b1fad CREATE_PROJECT: Use RELEASE_BUILD define in Xcode Release configuration


Commit: b4b91b1fadeefdfd3375b15c3cb36fb3efdd0301
    https://github.com/scummvm/scummvm/commit/b4b91b1fadeefdfd3375b15c3cb36fb3efdd0301
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-09-26T15:36:31+01:00

Commit Message:
CREATE_PROJECT: Use RELEASE_BUILD define in Xcode Release configuration

Changed paths:
    devtools/create_project/xcode.cpp


diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index 3627552177..18c44ed478 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -982,6 +982,10 @@ void XcodeProvider::setupBuildConfiguration(const BuildSetup &setup) {
 	REMOVE_SETTING(scummvm_Release, "GCC_WARN_UNUSED_VARIABLE");
 	REMOVE_SETTING(scummvm_Release, "ONLY_ACTIVE_ARCH");
 	REMOVE_SETTING(scummvm_Release, "ENABLE_TESTABILITY");
+	REMOVE_SETTING(scummvm_Release, "GCC_PREPROCESSOR_DEFINITIONS");
+	ValueList scummvm_Release_defines(scummvm_defines);
+	ADD_DEFINE(scummvm_Release_defines, "RELEASE_BUILD");
+	ADD_SETTING_LIST(scummvm_Release, "GCC_PREPROCESSOR_DEFINITIONS", scummvm_Release_defines, kSettingsNoQuote | kSettingsAsList, 5);
 
 	scummvm_Release_Object->addProperty("name", "Release", "", kSettingsNoValue);
 	scummvm_Release_Object->_properties["buildSettings"] = scummvm_Release;




More information about the Scummvm-git-logs mailing list