[glib] MSVC Builds: Improve Build Speed and Debugging



commit 7b1729f3c066c07ca075a08b3b46ed4d43fb9e29
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Mar 3 13:52:22 2015 +0800

    MSVC Builds: Improve Build Speed and Debugging
    
    Use Multiprocessor compilation which can cut down build times by quite a
    bit and use the /d2Zi+ flag to have better debugging info being logged to
    the .pdb for release builds.
    
    These are only applicable for Visual Studio 2010/2012 and later.

 build/win32/vs10/glib-build-defines.props |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/build/win32/vs10/glib-build-defines.props b/build/win32/vs10/glib-build-defines.props
index 34aac3b..229ea8c 100644
--- a/build/win32/vs10/glib-build-defines.props
+++ b/build/win32/vs10/glib-build-defines.props
@@ -28,6 +28,8 @@
       
<AdditionalIncludeDirectories>..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>
     </ClCompile>
     <Link>
       <AdditionalDependencies>intl.lib;%(AdditionalDependencies)</AdditionalDependencies>


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