diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-03 13:52:22 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2015-03-03 13:52:22 +0800 |
commit | 7b1729f3c066c07ca075a08b3b46ed4d43fb9e29 (patch) | |
tree | ab4a4fbcc12cb792c88c163dd9ed518fada8e4e6 | |
parent | 94b9d87a43fbde8295f78fc86cb88bbe552cdbba (diff) | |
download | glib-7b1729f3c066c07ca075a08b3b46ed4d43fb9e29.tar.gz |
MSVC Builds: Improve Build Speed and Debugging
Use Multiprocessor compilation which can cut down build times by quite a
bit and use the /d2Zi+ flag to have better debugging info being logged to
the .pdb for release builds.
These are only applicable for Visual Studio 2010/2012 and later.
-rw-r--r-- | build/win32/vs10/glib-build-defines.props | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/win32/vs10/glib-build-defines.props b/build/win32/vs10/glib-build-defines.props index 34aac3b00..229ea8ce4 100644 --- a/build/win32/vs10/glib-build-defines.props +++ b/build/win32/vs10/glib-build-defines.props @@ -28,6 +28,8 @@ <AdditionalIncludeDirectories>..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>intl.lib;%(AdditionalDependencies)</AdditionalDependencies> |