[Scummvm-cvs-logs] scummvm master -> edfc84b67ad625b288192c4bc65bce0fe3c12169

lordhoto lordhoto at gmail.com
Sun Mar 13 20:43:29 CET 2016


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:
edfc84b67a DEVTOOLS: Use LTCG for Release configurations in MSBuild project files.


Commit: edfc84b67ad625b288192c4bc65bce0fe3c12169
    https://github.com/scummvm/scummvm/commit/edfc84b67ad625b288192c4bc65bce0fe3c12169
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2016-03-13T20:41:40+01:00

Commit Message:
DEVTOOLS: Use LTCG for Release configurations in MSBuild project files.

Silences linker output that LTCG is used anyway because whole program
optimization is enabled for these configurations.

Changed paths:
    devtools/create_project/msbuild.cpp



diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index 0f9819c..a804205 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -434,7 +434,11 @@ void MSBuildProvider::createBuildProp(const BuildSetup &setup, bool isRelease, b
 		              "\t\t\t<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>\n"
 		              "\t\t\t<EnablePREfast>" << (configuration == "Analysis" ? "true" : "false") << "</EnablePREfast>\n"
 		              "\t\t</ClCompile>\n"
+		              "\t\t<Lib>\n"
+		              "\t\t\t<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>\n"
+		              "\t\t</Lib>\n"
 		              "\t\t<Link>\n"
+		              "\t\t\t<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>\n"
 		              "\t\t\t<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\n"
 		              "\t\t\t<SetChecksum>true</SetChecksum>\n";
 	} else {






More information about the Scummvm-git-logs mailing list