CREATE_PROJECT: Add Text console debugger feature
Add feature flag to create_project to set USE_TEXT_CONSOLE_FOR_DEBUGGER with --enable-text-console like configure script
This commit is contained in:
parent
82353c5068
commit
8c32927f39
2 changed files with 23 additions and 20 deletions
|
@ -1077,8 +1077,9 @@ const Feature s_features[] = {
|
|||
{ "eventrecorder", "ENABLE_EVENTRECORDER", "", false, "Event recorder support"},
|
||||
{ "updates", "USE_UPDATES", "", false, "Updates support"},
|
||||
{ "dialogs", "USE_SYSDIALOGS", "", true, "System dialogs support"},
|
||||
{ "langdetect", "USE_DETECTLANG", "", true, "System language detection support" } // This feature actually depends on "translation", there
|
||||
{ "langdetect", "USE_DETECTLANG", "", true, "System language detection support" }, // This feature actually depends on "translation", there
|
||||
// is just no current way of properly detecting this...
|
||||
{ "text-console", "USE_TEXT_CONSOLE_FOR_DEBUGGER", "", false, "Text console debugger" } // This feature is always applied in xcode projects
|
||||
};
|
||||
|
||||
const Tool s_tools[] = {
|
||||
|
|
|
@ -1137,7 +1137,9 @@ void XcodeProvider::setupDefines(const BuildSetup &setup) {
|
|||
REMOVE_DEFINE(_defines, "IPHONE_IOS7");
|
||||
REMOVE_DEFINE(_defines, "IPHONE_SANDBOXED");
|
||||
REMOVE_DEFINE(_defines, "SDL_BACKEND");
|
||||
if (!CONTAINS_DEFINE(_defines, "USE_TEXT_CONSOLE_FOR_DEBUGGER")) {
|
||||
ADD_DEFINE(_defines, "USE_TEXT_CONSOLE_FOR_DEBUGGER");
|
||||
}
|
||||
ADD_DEFINE(_defines, "CONFIG_H");
|
||||
ADD_DEFINE(_defines, "UNIX");
|
||||
ADD_DEFINE(_defines, "SCUMMVM");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue