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.
This commit is contained in:
parent
430d5be5bf
commit
edfc84b67a
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue