MSVC 2010+ Builds: Improve .pdb Generation
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Mar 2015 09:59:26 +0000 (17:59 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 5 Mar 2015 09:59:26 +0000 (17:59 +0800)
Use the /d2Zi+ compiler flag so that more useful info can be logged into
the .pdb file for release builds, to improve the debugging experience for
release builds.

build/win32/vs10/atk-build-defines.props

index 8030265..321d5d0 100644 (file)
@@ -17,6 +17,7 @@
       <PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
       <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>
     </ClCompile>
     <Link>
       <AdditionalDependencies>glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;intl.lib;%(AdditionalDependencies)</AdditionalDependencies>