diff options
author | Steve Dower <steve.dower@python.org> | 2021-07-05 15:18:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 15:18:14 (GMT) |
commit | 1b133ab8412e4f6a53914212df7a7656f376256d (patch) | |
tree | 1b06bc2e4efd1c3381b08b28dc17678faf09032a /PCbuild/python.vcxproj | |
parent | 7ac7a0c0f03c60934bc924ee144db170a0e0161f (diff) | |
download | cpython-1b133ab8412e4f6a53914212df7a7656f376256d.zip cpython-1b133ab8412e4f6a53914212df7a7656f376256d.tar.gz cpython-1b133ab8412e4f6a53914212df7a7656f376256d.tar.bz2 |
bpo-44479: Regenerate test_frozenmain.h and frozen_hello.h during build on Windows (GH-26984)
Diffstat (limited to 'PCbuild/python.vcxproj')
-rw-r--r-- | PCbuild/python.vcxproj | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj index 2094420..b58945a 100644 --- a/PCbuild/python.vcxproj +++ b/PCbuild/python.vcxproj @@ -114,7 +114,9 @@ </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> + <Import Project="regen.targets" /> </ImportGroup> + <Target Name="_TriggerPostRegen" AfterTargets="Build" DependsOnTargets="PostBuildRegen" /> <Target Name="ValidateUcrtbase" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGInstrument' and $(Platform) != 'ARM' and $(Platform) != 'ARM64'"> <PropertyGroup> <UcrtName>ucrtbase</UcrtName> @@ -145,23 +147,4 @@ $(_PGOPath) </PropertyGroup> <WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" /> </Target> - <Target Name="GenerateLicense" AfterTargets="AfterBuild"> - <ItemGroup> - <LicenseFiles Include="$(PySourcePath)LICENSE; - $(PySourcePath)PC\crtlicense.txt; - $(bz2Dir)LICENSE; - $(opensslOutDir)LICENSE; - $(libffiDir)LICENSE;" /> - <LicenseFiles Include="$(tcltkDir)tcllicense.terms; - $(tcltkDir)tklicense.terms; - $(tcltkDir)tixlicense.terms" Condition="$(IncludeTkinter)" /> - <_LicenseFiles Include="@(LicenseFiles)"> - <Content Condition="Exists(%(FullPath))">$([System.IO.File]::ReadAllText(%(FullPath)))</Content> - </_LicenseFiles> - </ItemGroup> - - <WriteLinesToFile File="$(OutDir)LICENSE.txt" - Overwrite="true" - Lines="@(_LicenseFiles->'%(Content)')" /> - </Target> </Project> |