summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS3
-rw-r--r--PCbuild/make_versioninfo.vcxproj13
2 files changed, 10 insertions, 6 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e8ec6dc..f291a4a 100644
--- 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.
diff --git a/PCbuild/make_versioninfo.vcxproj b/PCbuild/make_versioninfo.vcxproj
index a855287..9cf507b 100644
--- a/PCbuild/make_versioninfo.vcxproj
+++ b/PCbuild/make_versioninfo.vcxproj
@@ -87,6 +87,7 @@
make_versioninfo.exe > ..\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'">