blob: d2e031f6b6aba14a6afd6602582a1af30c5d4153 [file] [log] [blame]
Steve Dowerf70fdd22015-04-14 18:34:04 -04001<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <ProjectGuid>{10487945-15D1-4092-A214-338395C4116B}</ProjectGuid>
5 <OutputName>python</OutputName>
6 <OutputSuffix></OutputSuffix>
Steve Dower2446e2e2015-05-23 17:52:20 -07007 <SupportSigning>false</SupportSigning>
Steve Dowerf70fdd22015-04-14 18:34:04 -04008 </PropertyGroup>
9
10 <Import Project="msi.props" />
11
12 <PropertyGroup>
Steve Dower6b4c63d2015-05-02 15:32:14 -070013 <SignOutput>false</SignOutput>
Steve Dowerf70fdd22015-04-14 18:34:04 -040014 <TargetName>python-$(PythonVersion)-embed-$(ArchName)</TargetName>
Steve Dower6b4c63d2015-05-02 15:32:14 -070015 <TargetExt>.zip</TargetExt>
Steve Dowerf70fdd22015-04-14 18:34:04 -040016 <TargetPath>$(OutputPath)\en-us\$(TargetName)$(TargetExt)</TargetPath>
Steve Dower2495faf2015-09-22 15:03:54 -070017 <CleanCommand>rmdir /q/s "$(IntermediateOutputPath)\zip_$(ArchName)"</CleanCommand>
Steve Dowerf70fdd22015-04-14 18:34:04 -040018 <Arguments>"$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py"</Arguments>
19 <Arguments>$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -a $(ArchName)</Arguments>
Steve Dowerfcbe1df2015-09-08 21:39:01 -070020 <Environment>set DOC_FILENAME=python$(PythonVersion).chm
21set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140.CRT</Environment>
Steve Dowerf70fdd22015-04-14 18:34:04 -040022 </PropertyGroup>
23
24 <Target Name="_Build">
25 <Exec Command="setlocal
26$(Environment)
Steve Dower2495faf2015-09-22 15:03:54 -070027$(CleanCommand)
Steve Dowerf70fdd22015-04-14 18:34:04 -040028$(Arguments)" />
29 </Target>
30
31 <Target Name="AfterBuild" />
32 <Target Name="Build" DependsOnTargets="_Build;AfterBuild" />
33
34 <Target Name="ShowHashes">
35 <ItemGroup>
36 <UserFiles Include="@(File)" Condition="'%(File.CopyTo)' == '$(EXETarget)'" />
37 </ItemGroup>
38
39 <Exec Command="&quot;$(PythonExe)&quot; generate_md5.py @(UserFiles->'&quot;%(FullPath)&quot;',' ')" />
40 </Target>
41</Project>