2015-02-06 02:08:48 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{6BD53305-B03E-49DC-85FB-5551B8CCC843}</ProjectGuid>
|
|
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
|
|
<OutputName>exe</OutputName>
|
|
|
|
<OutputType>Package</OutputType>
|
|
|
|
</PropertyGroup>
|
2015-02-14 14:30:54 -04:00
|
|
|
<PropertyGroup>
|
|
|
|
<!-- Shortcut validation is not necessary -->
|
|
|
|
<SuppressICEs>ICE43</SuppressICEs>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\msi.props" />
|
2020-03-11 08:18:12 -03:00
|
|
|
<PropertyGroup Condition="exists('$(BuildPath)vcruntime140_1.dll')">
|
|
|
|
<DefineConstants>$(DefineConstants);Include_Vcruntime140_1_dll=1</DefineConstants>
|
|
|
|
</PropertyGroup>
|
2015-02-14 14:30:54 -04:00
|
|
|
<ItemGroup>
|
|
|
|
<Compile Include="exe.wxs" />
|
|
|
|
<Compile Include="exe_files.wxs" />
|
2016-07-24 22:04:29 -03:00
|
|
|
<Compile Include="exe_reg.wxs" />
|
2015-02-14 14:30:54 -04:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<EmbeddedResource Include="*.wxl" />
|
|
|
|
<WxlTemplate Include="*.wxl_template" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2017-09-06 14:01:38 -03:00
|
|
|
<Target Name="_CopyMiscNews" AfterTargets="PrepareForBuild" Condition="Exists('$(PySourcePath)Misc\NEWS')">
|
|
|
|
<Copy SourceFiles="$(PySourcePath)Misc\NEWS" DestinationFiles="$(BuildPath)NEWS.txt" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="_MergeMiscNewsWithBlurb" AfterTargets="PrepareForBuild" Condition="$(Blurb) != '' and !Exists('$(PySourcePath)Misc\NEWS')">
|
2017-09-25 13:58:10 -03:00
|
|
|
<Exec Command="$(Blurb) merge -f "$(BuildPath)NEWS.txt"" WorkingDirectory="$(PCbuild)" />
|
2017-09-06 14:01:38 -03:00
|
|
|
</Target>
|
|
|
|
|
2022-03-30 17:20:38 -03:00
|
|
|
<Target Name="_MergeMiscNewsWithPython" AfterTargets="PrepareForBuild" Condition="$(Blurb) == '' and !Exists('$(PySourcePath)Misc\NEWS')" DependsOnTargets="FindPythonForBuild">
|
|
|
|
<Exec Command="$(PythonForBuild) -m pip install -U blurb" WorkingDirectory="$(PCbuild)" />
|
|
|
|
<Exec Command="$(PythonForBuild) -m blurb merge -f "$(BuildPath)NEWS.txt"" WorkingDirectory="$(PCbuild)" />
|
2017-09-06 14:01:38 -03:00
|
|
|
</Target>
|
|
|
|
|
2015-02-14 14:30:54 -04:00
|
|
|
<Import Project="..\msi.targets" />
|
2015-02-06 02:08:48 -04:00
|
|
|
</Project>
|