diff options
author | Paul Gilbert | 2012-05-06 12:13:40 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-06 12:13:40 +1000 |
commit | 2dbdb31c8b274b896877c8716434e971e94a4a44 (patch) | |
tree | 81567550fec6c79b69fd0afb3e53ed4ab6818abb /devtools/create_project | |
parent | 607855cfbc892d4ecfa34f2c469a10e310e51124 (diff) | |
download | scummvm-rg350-2dbdb31c8b274b896877c8716434e971e94a4a44.tar.gz scummvm-rg350-2dbdb31c8b274b896877c8716434e971e94a4a44.tar.bz2 scummvm-rg350-2dbdb31c8b274b896877c8716434e971e94a4a44.zip |
CREATE_PROJECT: Extend settings used for Tinsel engine to Tony engine as well
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/msbuild.cpp | 4 | ||||
-rw-r--r-- | devtools/create_project/visualstudio.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp index f8768ecc73..85fb24914a 100644 --- a/devtools/create_project/msbuild.cpp +++ b/devtools/create_project/msbuild.cpp @@ -235,7 +235,7 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s std::map<std::string, StringList>::iterator warningsIterator = _projectWarnings.find(name); // Nothing to add here, move along! - if (!setup.devTools && name != setup.projectName && name != "sword25" && name != "tinsel" && name != "grim" && warningsIterator == _projectWarnings.end()) + if (!setup.devTools && name != setup.projectName && name != "sword25" && name != "tinsel" && name != "tony" && name != "grim" && warningsIterator == _projectWarnings.end()) return; std::string warnings = ""; @@ -250,7 +250,7 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s if (setup.devTools || name == setup.projectName || name == "sword25" || name == "grim") { project << "\t\t\t<DisableLanguageExtensions>false</DisableLanguageExtensions>\n"; } else { - if (name == "tinsel" && !isRelease) + if ((name == "tinsel" || name == "tony") && !isRelease) project << "\t\t\t<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\n"; if (warningsIterator != _projectWarnings.end()) diff --git a/devtools/create_project/visualstudio.cpp b/devtools/create_project/visualstudio.cpp index a0fd239db4..f7c9a18f74 100644 --- a/devtools/create_project/visualstudio.cpp +++ b/devtools/create_project/visualstudio.cpp @@ -110,7 +110,7 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std: std::string toolConfig; toolConfig = (!warnings.empty() ? "DisableSpecificWarnings=\"" + warnings + "\"" : ""); - toolConfig += (name == "tinsel" ? "DebugInformationFormat=\"3\" " : ""); + toolConfig += ((name == "tinsel" || name == "tony") ? "DebugInformationFormat=\"3\" " : ""); toolConfig += (name == "sword25" ? "DisableLanguageExtensions=\"false\" " : ""); toolConfig += (name == "grim" ? "DisableLanguageExtensions=\"false\" " : ""); |