From 2b6efaeed3b263b3be0be46716205152567e854a Mon Sep 17 00:00:00 2001 From: Hadi Brais Date: Sat, 6 Jun 2015 19:18:06 +0530 Subject: build,win: Enables Whole Program Optimization. * Enables whole program optimization for release configuration on Windows. * Fixes all messages "/LTCG specified but no code generation required; remove /LTCG from link command line to improve linker performance" which slow down the build process. * Fixes all messages "MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance" which slow down the build process. * The previous two fixes work in Release and Debug builds on Windows. Issue-URL: #1086 --- tests/buildtest.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/buildtest.cmd') diff --git a/tests/buildtest.cmd b/tests/buildtest.cmd index 2f44f53d34..f2ca47b814 100644 --- a/tests/buildtest.cmd +++ b/tests/buildtest.cmd @@ -118,7 +118,7 @@ exit /b 1 :GenVSSolution :: Regenerate the VS solution pushd "%__NativeTestIntermediatesDir%" -call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectFilesDir%\" %__VSVersion% +call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectFilesDir%\" %__VSVersion% %__BuildType% popd :BuildComponents -- cgit v1.2.3