17db96d56Sopenharmony_ci<?xml version="1.0" encoding="utf-8"?>
27db96d56Sopenharmony_ci<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
37db96d56Sopenharmony_ci    <PropertyGroup>
47db96d56Sopenharmony_ci        <ProjectGuid>{6BD53305-B03E-49DC-85FB-5551B8CCC843}</ProjectGuid>
57db96d56Sopenharmony_ci        <SchemaVersion>2.0</SchemaVersion>
67db96d56Sopenharmony_ci        <OutputName>exe</OutputName>
77db96d56Sopenharmony_ci        <OutputType>Package</OutputType>
87db96d56Sopenharmony_ci    </PropertyGroup>
97db96d56Sopenharmony_ci    <PropertyGroup>
107db96d56Sopenharmony_ci        <!-- Shortcut validation is not necessary -->
117db96d56Sopenharmony_ci        <SuppressICEs>ICE43</SuppressICEs>
127db96d56Sopenharmony_ci    </PropertyGroup>
137db96d56Sopenharmony_ci    <Import Project="..\msi.props" />
147db96d56Sopenharmony_ci    <PropertyGroup Condition="exists('$(BuildPath)vcruntime140_1.dll')">
157db96d56Sopenharmony_ci        <DefineConstants>$(DefineConstants);Include_Vcruntime140_1_dll=1</DefineConstants>
167db96d56Sopenharmony_ci    </PropertyGroup>
177db96d56Sopenharmony_ci    <ItemGroup>
187db96d56Sopenharmony_ci        <Compile Include="exe.wxs" />
197db96d56Sopenharmony_ci        <Compile Include="exe_files.wxs" />
207db96d56Sopenharmony_ci        <Compile Include="exe_reg.wxs" />
217db96d56Sopenharmony_ci    </ItemGroup>
227db96d56Sopenharmony_ci    <ItemGroup>
237db96d56Sopenharmony_ci        <EmbeddedResource Include="*.wxl" />
247db96d56Sopenharmony_ci        <WxlTemplate Include="*.wxl_template" />
257db96d56Sopenharmony_ci    </ItemGroup>
267db96d56Sopenharmony_ci    
277db96d56Sopenharmony_ci    <Target Name="_CopyMiscNews" AfterTargets="PrepareForBuild" Condition="Exists('$(PySourcePath)Misc\NEWS')">
287db96d56Sopenharmony_ci        <Copy SourceFiles="$(PySourcePath)Misc\NEWS" DestinationFiles="$(BuildPath)NEWS.txt" />
297db96d56Sopenharmony_ci    </Target>
307db96d56Sopenharmony_ci    
317db96d56Sopenharmony_ci    <Target Name="_MergeMiscNewsWithBlurb" AfterTargets="PrepareForBuild" Condition="$(Blurb) != '' and !Exists('$(PySourcePath)Misc\NEWS')">
327db96d56Sopenharmony_ci        <Exec Command="$(Blurb) merge -f &quot;$(BuildPath)NEWS.txt&quot;" WorkingDirectory="$(PCbuild)" />
337db96d56Sopenharmony_ci    </Target>
347db96d56Sopenharmony_ci    
357db96d56Sopenharmony_ci    <Target Name="_MergeMiscNewsWithPython" AfterTargets="PrepareForBuild" Condition="$(Blurb) == '' and !Exists('$(PySourcePath)Misc\NEWS')" DependsOnTargets="FindPythonForBuild">
367db96d56Sopenharmony_ci        <Exec Command="$(PythonForBuild) -m pip install -U blurb" WorkingDirectory="$(PCbuild)" />
377db96d56Sopenharmony_ci        <Exec Command="$(PythonForBuild) -m blurb merge -f &quot;$(BuildPath)NEWS.txt&quot;" WorkingDirectory="$(PCbuild)" />
387db96d56Sopenharmony_ci    </Target>
397db96d56Sopenharmony_ci    
407db96d56Sopenharmony_ci    <Import Project="..\msi.targets" />
417db96d56Sopenharmony_ci</Project>