[Python-checkins] cpython: Issue #15143: Define _DEBUG when compiling resources.

martin.v.loewis python-checkins at python.org
Fri Jun 22 22:20:18 CEST 2012


http://hg.python.org/cpython/rev/f59e6cc3d5eb
changeset:   77586:f59e6cc3d5eb
parent:      77580:34319fc28da6
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Fri Jun 22 22:16:42 2012 +0200
summary:
  Issue #15143: Define _DEBUG when compiling resources.

files:
  PCbuild/debug.props |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/PCbuild/debug.props b/PCbuild/debug.props
--- a/PCbuild/debug.props
+++ b/PCbuild/debug.props
@@ -12,6 +12,9 @@
     <ClCompile>
       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     </ClCompile>
+    <ResourceCompile>
+      <PreprocessorDefinitions>_DEBUG</PreprocessorDefinitions>
+    </ResourceCompile>
   </ItemDefinitionGroup>
   <ItemGroup>
     <BuildMacro Include="PyDebugExt">

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list