[gtk+] MSVC 2008 Builds: Speed Up Release Builds



commit 48c93fb347d475cd4547b4fbf88afa2ef369b220
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Mar 3 18:40:32 2015 +0800

    MSVC 2008 Builds: Speed Up Release Builds
    
    Use the /MP compiler option, where the build time for release builds can
    be cut down by quite a bit.  This will however cause a brief warning with
    debug builds due to the use of /Gm, but the code will otherwise build
    normally.  Unlike the Visual Studio 2010+ builds, we can't use /d2Zi+ as
    Visual Studio 2008 does not support that, so we can't get a better
    debugging experience for release builds here.

 build/win32/vs9/gtk-build-defines.vsprops |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/build/win32/vs9/gtk-build-defines.vsprops b/build/win32/vs9/gtk-build-defines.vsprops
index 35d614d..5f12fd7 100644
--- a/build/win32/vs9/gtk-build-defines.vsprops
+++ b/build/win32/vs9/gtk-build-defines.vsprops
@@ -12,6 +12,7 @@
                
AdditionalIncludeDirectories="..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0"
                
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES"
                ForcedIncludeFiles="msvc_recommended_pragmas.h"
+               AdditionalOptions="/MP"
        />
        <Tool
                Name="VCLinkerTool"


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