summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-03-03 18:40:32 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2015-03-03 18:40:32 +0800
commit48c93fb347d475cd4547b4fbf88afa2ef369b220 (patch)
treed16896ca977f67e2bdbc7fc5367feb4af74c4898 /build
parent163f7e75bf8f56b8440ecbafdf88470708e9d934 (diff)
downloadgtk+-48c93fb347d475cd4547b4fbf88afa2ef369b220.tar.gz
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.
Diffstat (limited to 'build')
-rw-r--r--build/win32/vs9/gtk-build-defines.vsprops1
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 35d614d303..5f12fd795a 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"