[gobject-introspection] MSVC 2010 Projects: Improve Optimization A Bit



commit 6c10a52ba2f67264c4fb6268b70c1b15d6e6a267
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Jul 4 12:06:49 2014 +0800

    MSVC 2010 Projects: Improve Optimization A Bit
    
    As the MSVC 2010 x64 (and later) compiler/linker do not have the
    optimization bug that prevents g-ir-compiler.exe from being built (due to
    a compiler/linker hang) under /O2 (max speed) (or /Ox, complete
    optimization), use /O2 for the optimization setting, like the other parts
    of g-i under Visual Studio 2010.

 build/win32/vs10/g-ir-compiler.vcxprojin |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/build/win32/vs10/g-ir-compiler.vcxprojin b/build/win32/vs10/g-ir-compiler.vcxprojin
index 4961ece..1ed4eb7 100644
--- a/build/win32/vs10/g-ir-compiler.vcxprojin
+++ b/build/win32/vs10/g-ir-compiler.vcxprojin
@@ -141,9 +141,8 @@
       <TargetEnvironment>X64</TargetEnvironment>
     </Midl>
     <ClCompile>
-      <Optimization>MinSpace</Optimization>
+      <Optimization>MaxSpeed</Optimization>
       <IntrinsicFunctions>true</IntrinsicFunctions>
-      <WholeProgramOptimization>false</WholeProgramOptimization>
       <PreprocessorDefinitions>$(FFIDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]