diff options
author | Johannes Schickel | 2016-03-13 20:33:50 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-13 20:41:40 +0100 |
commit | edfc84b67ad625b288192c4bc65bce0fe3c12169 (patch) | |
tree | eb85982d128badcd3ea5b7b486945d0f97e71e4a /devtools/create_project | |
parent | 430d5be5bfff2ef69165a96270aba8c80a93897f (diff) | |
download | scummvm-rg350-edfc84b67ad625b288192c4bc65bce0fe3c12169.tar.gz scummvm-rg350-edfc84b67ad625b288192c4bc65bce0fe3c12169.tar.bz2 scummvm-rg350-edfc84b67ad625b288192c4bc65bce0fe3c12169.zip |
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.
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/msbuild.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp index 0f9819c308..a804205c42 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 { |