blob: 2f16032086c413547c7d7079acf0d1b4359e7e98 [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>
17 <Arguments>"$(PythonExe)" "$(MSBuildThisFileDirectory)\make_zip.py"</Arguments>
18 <Arguments>$(Arguments) -e -o "$(TargetPath)" -t "$(IntermediateOutputPath)\zip_$(ArchName)" -a $(ArchName)</Arguments>
Steve Dowerf70fdd22015-04-14 18:34:04 -040019 <Environment>set DOC_FILENAME=python$(PythonVersion).chm</Environment>
20 </PropertyGroup>
21
22 <Target Name="_Build">
23 <Exec Command="setlocal
24$(Environment)
25$(Arguments)" />
26 </Target>
27
28 <Target Name="AfterBuild" />
29 <Target Name="Build" DependsOnTargets="_Build;AfterBuild" />
30
31 <Target Name="ShowHashes">
32 <ItemGroup>
33 <UserFiles Include="@(File)" Condition="'%(File.CopyTo)' == '$(EXETarget)'" />
34 </ItemGroup>
35
36 <Exec Command="&quot;$(PythonExe)&quot; generate_md5.py @(UserFiles->'&quot;%(FullPath)&quot;',' ')" />
37 </Target>
38</Project>