Visual Studio 2008 Builds: Speed Up Release Builds
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 3 Mar 2015 10:09:42 +0000 (18:09 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 3 Mar 2015 10:09:42 +0000 (18:09 +0800)
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

index e5ae00f..0140dfd 100644 (file)
@@ -12,6 +12,7 @@
                AdditionalIncludeDirectories="..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include"
                PreprocessorDefinitions="HAVE_CONFIG_H"
                ForcedIncludeFiles="msvc_recommended_pragmas.h"
+               AdditionalOptions="/MP"
        />
        <Tool
                Name="VCLinkerTool"