aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-18 11:09:36 +0000
committerFilippos Karapetis2010-10-18 11:09:36 +0000
commit35af08619df28db3a3487523a6cb5cc202b4c87e (patch)
treec91ea2e534e72f28939c703ec2939694131661e1 /tools
parent81f71f48c24e6d0e7c4550b6b6e6372a3d9b14ac (diff)
downloadscummvm-rg350-35af08619df28db3a3487523a6cb5cc202b4c87e.tar.gz
scummvm-rg350-35af08619df28db3a3487523a6cb5cc202b4c87e.tar.bz2
scummvm-rg350-35af08619df28db3a3487523a6cb5cc202b4c87e.zip
CREATE_MSVC: Added a missing check for sword25 and reordered some engine checks alphabetically
svn-id: r53566
Diffstat (limited to 'tools')
-rw-r--r--tools/create_msvc/create_msvc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/create_msvc/create_msvc.cpp b/tools/create_msvc/create_msvc.cpp
index 91c5cb834a..07943a7b82 100644
--- a/tools/create_msvc/create_msvc.cpp
+++ b/tools/create_msvc/create_msvc.cpp
@@ -2023,7 +2023,7 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s
std::map<std::string, std::string>::iterator warnings = _projectWarnings.find(name);
// Nothing to add here, move along!
- if (name != "scummvm" && name != "tinsel" && warnings == _projectWarnings.end())
+ if (name != "scummvm" && name != "sword25" && name != "tinsel" && warnings == _projectWarnings.end())
return;
project << "\t<ItemDefinitionGroup Condition=\"'$(Configuration)|$(Platform)'=='" << (isRelease ? "Release" : "Debug") << "|" << (isWin32 ? "Win32" : "x64") << "'\">\n"
@@ -2033,12 +2033,12 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s
if (name == "scummvm") {
project << "\t\t\t<DisableLanguageExtensions>false</DisableLanguageExtensions>\n";
} else {
- if (name == "tinsel" && !isRelease)
- project << "\t\t\t<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\n";
-
if (name == "sword25")
project << "\t\t\t<DisableLanguageExtensions>false</DisableLanguageExtensions>\n";
+ if (name == "tinsel" && !isRelease)
+ project << "\t\t\t<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\n";
+
if (warnings != _projectWarnings.end())
project << "\t\t\t<DisableSpecificWarnings>" << warnings->second << ";%(DisableSpecificWarnings)</DisableSpecificWarnings>\n";
}