[glib/glib-2-42] Visual Studio 2008 Builds: Speed Up Release Builds



commit 712a9ad0b72db905998c2ba0ff31cae43588a8ae
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Mar 3 18:09:42 2015 +0800

    Visual Studio 2008 Builds: Speed Up Release Builds
    
    Use the /MP option so that each project can build multiple sources in
    parallel, which can cut down release build times by quite a bit.  This will
    cause a brief warning for debug builds due to their use of /Gm, and builds
    would otherwise proceed as they did before.
    
    Unfortunately Visual Studio 2008 is too old to support the /d2Zi+ flag, so
    we can't make a better debug situation for it at the moment.

 build/win32/vs9/glib-build-defines.vsprops |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/build/win32/vs9/glib-build-defines.vsprops b/build/win32/vs9/glib-build-defines.vsprops
index e5ae00f..0140dfd 100644
--- a/build/win32/vs9/glib-build-defines.vsprops
+++ b/build/win32/vs9/glib-build-defines.vsprops
@@ -12,6 +12,7 @@
                AdditionalIncludeDirectories="..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include"
                PreprocessorDefinitions="HAVE_CONFIG_H"
                ForcedIncludeFiles="msvc_recommended_pragmas.h"
+               AdditionalOptions="/MP"
        />
        <Tool
                Name="VCLinkerTool"


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