diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-05 17:40:58 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-05 17:40:58 +0800 |
commit | 4126ce605881bd8116756ddf99d12cddaf7c1aa5 (patch) | |
tree | c311518495e764da9b50cdebaf1348dc1d963b02 | |
parent | c29153f70bdbb34194f3f8ca015c1199a9d4c1b7 (diff) | |
download | atk-4126ce605881bd8116756ddf99d12cddaf7c1aa5.tar.gz |
MSVC Builds: Speed Up Release Builds
Use the multi-processor compilation option for the compiler, which can cut
down build times of release builds by quite a bit. This would emit a brief
warning for debug builds as they use /Gm, but otherwise the build would
continue normally.
-rw-r--r-- | build/win32/vs10/atk-build-defines.props | 1 | ||||
-rw-r--r-- | build/win32/vs9/atk-build-defines.vsprops | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/build/win32/vs10/atk-build-defines.props b/build/win32/vs10/atk-build-defines.props index a0bec90..ff3ab78 100644 --- a/build/win32/vs10/atk-build-defines.props +++ b/build/win32/vs10/atk-build-defines.props @@ -16,6 +16,7 @@ <AdditionalIncludeDirectories>..\..\..;..\..\..\atk;$(GLibEtcInstallRoot)\include;$(GLibEtcInstallRoot)\include\glib-2.0;$(GLibEtcInstallRoot)\lib\glib-2.0\include\;%(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>glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies> diff --git a/build/win32/vs9/atk-build-defines.vsprops b/build/win32/vs9/atk-build-defines.vsprops index 351d19e..76665ce 100644 --- a/build/win32/vs9/atk-build-defines.vsprops +++ b/build/win32/vs9/atk-build-defines.vsprops @@ -12,6 +12,7 @@ AdditionalIncludeDirectories="..\..\..;..\..\..\atk;$(GLibEtcInstallRoot)\include;$(GLibEtcInstallRoot)\include\glib-2.0;$(GLibEtcInstallRoot)\lib\glib-2.0\include\" PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES" ForcedIncludeFiles="msvc_recommended_pragmas.h" + AdditionalOptions="/MP" /> <Tool Name="VCLinkerTool" |