[Python-checkins] cpython: Drop PC\python_nt.h as it's not used.

martin.v.loewis python-checkins at python.org
Fri Aug 24 15:48:21 CEST 2012


http://hg.python.org/cpython/rev/fc8fe630c5dd
changeset:   78728:fc8fe630c5dd
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Fri Aug 24 15:47:53 2012 +0200
summary:
   Drop PC\python_nt.h as it's not used.
 Add input dependency on custom build step.

files:
  Misc/NEWS                        |   3 +++
  PCbuild/make_versioninfo.vcxproj |  13 +++++++------
  2 files changed, 10 insertions(+), 6 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -115,6 +115,9 @@
 Build
 -----
 
+- Drop PC\python_nt.h as it's not used. Add input dependency on custom
+  build step.
+
 - Issue #15511: Drop explicit dependency on pythonxy.lib from _decimal
   amd64 configuration.
 
diff --git a/PCbuild/make_versioninfo.vcxproj b/PCbuild/make_versioninfo.vcxproj
--- a/PCbuild/make_versioninfo.vcxproj
+++ b/PCbuild/make_versioninfo.vcxproj
@@ -87,6 +87,7 @@
 make_versioninfo.exe &gt; ..\PC\pythonnt_rc.h
 </Command>
       <Outputs>$(SolutionDir)..\PC\pythonnt_rc.h;%(Outputs)</Outputs>
+      <Inputs>$(SolutionDir)make_versioninfo.exe</Inputs>
     </CustomBuildStep>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>
@@ -104,10 +105,10 @@
       <SubSystem>Console</SubSystem>
       <BaseAddress>0x1d000000</BaseAddress>
     </Link>
+    <PostBuildEvent />
     <PostBuildEvent>
-      <Command>cd $(SolutionDir)
-make_versioninfo.exe &gt; ..\PC\python_nt.h
-</Command>
+      <Command>
+      </Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@@ -140,6 +141,7 @@
 make_versioninfo_d.exe &gt; ..\PC\pythonnt_rc_d.h
 </Command>
       <Outputs>$(SolutionDir)..\PC\pythonnt_rc_d.h;%(Outputs)</Outputs>
+      <Inputs>$(SolutionDir)make_versioninfo_d.exe</Inputs>
     </CustomBuildStep>
     <ClCompile>
       <Optimization>Disabled</Optimization>
@@ -158,9 +160,8 @@
       <BaseAddress>0x1d000000</BaseAddress>
     </Link>
     <PostBuildEvent>
-      <Command>cd $(SolutionDir)
-make_versioninfo_d.exe &gt; ..\PC\python_nt_d.h
-</Command>
+      <Command>
+      </Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">

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


More information about the Python-checkins mailing list