diff options
author | Filippos Karapetis | 2010-10-13 14:00:29 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-10-13 14:00:29 +0000 |
commit | 01b4d4e913bdae5e0ccaec6029ff3312c86c0eb8 (patch) | |
tree | 0dfd142cda7260af53f7e3807e12600ae737caf2 | |
parent | db58a05a5796a6e9cc086434edc173237d1ef2b6 (diff) | |
download | scummvm-rg350-01b4d4e913bdae5e0ccaec6029ff3312c86c0eb8.tar.gz scummvm-rg350-01b4d4e913bdae5e0ccaec6029ff3312c86c0eb8.tar.bz2 scummvm-rg350-01b4d4e913bdae5e0ccaec6029ff3312c86c0eb8.zip |
create_msvc: enable language extensions for SWORD25
svn-id: r53422
-rw-r--r-- | tools/create_msvc/create_msvc.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/create_msvc/create_msvc.cpp b/tools/create_msvc/create_msvc.cpp index f7d4a1205a..2ba33015ac 100644 --- a/tools/create_msvc/create_msvc.cpp +++ b/tools/create_msvc/create_msvc.cpp @@ -1602,6 +1602,17 @@ void VisualStudioProvider::createProjectFile(const std::string &name, const std: "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\">\n" "\t\t\t<Tool Name=\"VCCLCompilerTool\" DisableSpecificWarnings=\"" << warnings->second << "\" />\n" "\t\t</Configuration>\n"; + } else if (name == "sword25") { + // Win32 + project << "\t\t<Configuration Name=\"Debug|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Debug.vsprops\">\n" + "\t\t\t<Tool Name=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" + "\t\t</Configuration>\n" + "\t\t<Configuration Name=\"Release|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release.vsprops\" />\n"; + // x64 + project << "\t\t<Configuration Name=\"Debug|x64\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Debug64.vsprops\">\n" + "\t\t\t<Tool Name=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" + "\t\t</Configuration>\n" + "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\" />\n"; } else if (name == "tinsel") { // Win32 project << "\t\t<Configuration Name=\"Debug|Win32\" ConfigurationType=\"4\" InheritedPropertySheets=\".\\ScummVM_Debug.vsprops\">\n" @@ -2024,6 +2035,9 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s if (name == "tinsel" && !isRelease) project << "\t\t\t<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\n"; + if (name == "sword25") + project << "\t\t\t<DisableLanguageExtensions>false</DisableLanguageExtensions>\n"; + if (warnings != _projectWarnings.end()) project << "\t\t\t<DisableSpecificWarnings>" << warnings->second << ";%(DisableSpecificWarnings)</DisableSpecificWarnings>\n"; } |