[Scummvm-cvs-logs] scummvm master -> 7d984aa53aca5457163a021793633f3db71f5f45

Littleboy littleboy22 at gmail.com
Mon Jun 6 19:15:04 CEST 2011


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:
7d984aa53a CREATE_PROJECT: Link with the static runtime library in release mode


Commit: 7d984aa53aca5457163a021793633f3db71f5f45
    https://github.com/scummvm/scummvm/commit/7d984aa53aca5457163a021793633f3db71f5f45
Author: Littleboy (littleboy at users.sourceforge.net)
Date: 2011-06-06T10:12:07-07:00

Commit Message:
CREATE_PROJECT: Link with the static runtime library in release mode

This allows distributing MSVC compiled binaries without the MSVCRT runtime dll.

Changed paths:
    devtools/create_project/msbuild.cpp
    devtools/create_project/visualstudio.cpp



diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index f8ce80a..bdbc0a4 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -373,6 +373,7 @@ void MSBuildProvider::createBuildProp(const BuildSetup &setup, bool isRelease, b
 		              "\t\t\t<StringPooling>true</StringPooling>\n"
 		              "\t\t\t<BufferSecurityCheck>false</BufferSecurityCheck>\n"
 		              "\t\t\t<DebugInformationFormat></DebugInformationFormat>\n"
+		              "\t\t\t<RuntimeLibrary>MultiThreaded</RuntimeLibrary>\n"
 		              "\t\t\t<EnablePREfast>" << (enableAnalysis ? "true" : "false") << "</EnablePREfast>\n"
 		              "\t\t</ClCompile>\n"
 		              "\t\t<Link>\n"
diff --git a/devtools/create_project/visualstudio.cpp b/devtools/create_project/visualstudio.cpp
index 4fadfd2..b4c2b46 100644
--- a/devtools/create_project/visualstudio.cpp
+++ b/devtools/create_project/visualstudio.cpp
@@ -269,6 +269,7 @@ void VisualStudioProvider::createBuildProp(const BuildSetup &setup, bool isRelea
 		              "\t\tStringPooling=\"true\"\n"
 		              "\t\tBufferSecurityCheck=\"false\"\n"
 		              "\t\tDebugInformationFormat=\"0\"\n"
+		              "\t\tRuntimeLibrary=\"0\"\n"
 		              "\t\tAdditionalOption=\"" << (enableAnalysis ? "/analyze" : "") << "\"\n"
 		              "\t/>\n"
 		              "\t<Tool\n"






More information about the Scummvm-git-logs mailing list