blob: d26a603268b4b3c44852b3f09bd7652854ed1e0d [file] [log] [blame]
Steve Dowerbb240872015-02-05 22:08:48 -08001<?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>{6BD53305-B03E-49DC-85FB-5551B8CCC843}</ProjectGuid>
5 <SchemaVersion>2.0</SchemaVersion>
6 <OutputName>exe</OutputName>
7 <OutputType>Package</OutputType>
Steve Dowerbb240872015-02-05 22:08:48 -08008 </PropertyGroup>
Steve Dowercc115ee2015-02-14 10:30:54 -08009 <PropertyGroup>
10 <!-- Shortcut validation is not necessary -->
11 <SuppressICEs>ICE43</SuppressICEs>
12 </PropertyGroup>
13 <Import Project="..\msi.props" />
14 <ItemGroup>
15 <Compile Include="exe.wxs" />
16 <Compile Include="exe_files.wxs" />
17 </ItemGroup>
18 <ItemGroup>
19 <EmbeddedResource Include="*.wxl" />
20 <WxlTemplate Include="*.wxl_template" />
21 </ItemGroup>
22
23 <Target Name="_GenerateLicense" AfterTargets="PrepareForBuild">
24 <ItemGroup>
25 <LicenseFiles Include="$(PySourcePath)LICENSE;
26 crtlicense.txt;
27 $(bz2Dir)LICENSE;
28 $(opensslDir)LICENSE;
29 $(tclDir)license.terms;
30 $(tkDir)license.terms;
31 $(tixDir)license.terms" />
32 <_LicenseFiles Include="@(LicenseFiles)">
33 <Content>$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
34 </_LicenseFiles>
35 </ItemGroup>
36
37 <WriteLinesToFile File="$(BuildPath)LICENSE"
38 Overwrite="true"
39 Lines="@(_LicenseFiles->'%(Content)')" />
40 </Target>
41
42 <Import Project="..\msi.targets" />
Steve Dowerbb240872015-02-05 22:08:48 -080043</Project>