diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-04 19:04:17 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-04 19:04:17 +0800 |
commit | 8914c1a2d67ad318c873d8501e060c18d505b47f (patch) | |
tree | dc0a76ce2c1ce39fcd2450f18ca8624c8402953b /build | |
parent | 1ca76d068af22cbc98a6c24e4f4faf15038d6f21 (diff) | |
download | pango-8914c1a2d67ad318c873d8501e060c18d505b47f.tar.gz |
MSVC Builds: Speed Up Release Builds
This adds the /MP option to the compiler, which can cut down on the
build time of release builds by quite a bit, by using multi-processor
or multi-core capabilities. This will, however, emit a brief warning
with debug builds, but the code will otherwise build normally.
Diffstat (limited to 'build')
-rw-r--r-- | build/win32/vs10/pango-build-defines.props | 1 | ||||
-rw-r--r-- | build/win32/vs9/pango-build-defines.vsprops | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/build/win32/vs10/pango-build-defines.props b/build/win32/vs10/pango-build-defines.props index b5b6d1f0..fa37cd09 100644 --- a/build/win32/vs10/pango-build-defines.props +++ b/build/win32/vs10/pango-build-defines.props @@ -19,6 +19,7 @@ <AdditionalIncludeDirectories>..\..\..;..\..\..\pango;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\fontconfig;$(GlibEtcInstallRoot)\include\freetype2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
+ <MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>gmodule-2.0.lib;gobject-2.0.lib;glib-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>
diff --git a/build/win32/vs9/pango-build-defines.vsprops b/build/win32/vs9/pango-build-defines.vsprops index a2e72393..7eeac94b 100644 --- a/build/win32/vs9/pango-build-defines.vsprops +++ b/build/win32/vs9/pango-build-defines.vsprops @@ -12,6 +12,7 @@ AdditionalIncludeDirectories="..\..\..;..\..\..\pango;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\fontconfig;$(GlibEtcInstallRoot)\include\freetype2" PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES" ForcedIncludeFiles="msvc_recommended_pragmas.h" + AdditionalOptions="/MP" /> <Tool Name="VCLinkerTool" |