]> granicus.if.org Git - python/commitdiff
Drop PC\python_nt.h as it's not used.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 24 Aug 2012 13:47:53 +0000 (15:47 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 24 Aug 2012 13:47:53 +0000 (15:47 +0200)
 Add input dependency on custom build step.

Misc/NEWS
PCbuild/make_versioninfo.vcxproj

index e8ec6dc8e1e8f9b5293621ef65fdba2625e8f19a..f291a4a0520739c7060644ab1a8f5dddcb283b45 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -115,6 +115,9 @@ Tests
 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.
 
index a8552876a1ed11fc4bc24804855e60d643d246d7..9cf507bbb6a811e9e85219397cee6e0cea3a23ed 100644 (file)
@@ -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 @@ make_versioninfo.exe &gt; ..\PC\pythonnt_rc.h
       <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.exe &gt; ..\PC\python_nt.h
 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 @@ make_versioninfo_d.exe &gt; ..\PC\pythonnt_rc_d.h
       <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'">