2015-02-06 02:08:48 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-02-06 13:59:05 -04:00
|
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="DownloadUrl">
|
2015-02-06 02:08:48 -04:00
|
|
|
<PropertyGroup>
|
|
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
|
|
<OutputType>Bundle</OutputType>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<BootstrapConfiguration Condition="'$(BootstrapConfiguration)' == ''">Release</BootstrapConfiguration>
|
|
|
|
<LinkerSuppressSpecificWarnings>1132;1135;1140</LinkerSuppressSpecificWarnings>
|
|
|
|
<OutputName Condition="$(BuildForRelease)">$(OutputName)-$(PythonVersion)</OutputName>
|
|
|
|
<OutputName Condition="!$(BuildForRelease)">$(OutputName)-$(MajorVersionNumber).$(MinorVersionNumber).$(MicroVersionNumber).$(RevisionNumber)</OutputName>
|
|
|
|
<OutputName Condition="$(Platform) == 'x64'">$(OutputName)-amd64</OutputName>
|
2022-01-28 12:48:06 -04:00
|
|
|
<OutputName Condition="$(Platform) == 'ARM64'">$(OutputName)-arm64</OutputName>
|
2015-02-06 02:08:48 -04:00
|
|
|
<OutputName Condition="'$(OutputSuffix)' != ''">$(OutputName)-$(OutputSuffix)</OutputName>
|
2015-02-28 23:53:50 -04:00
|
|
|
<OutputName Condition="'$(Configuration)' == 'Debug'">$(OutputName)-d</OutputName>
|
|
|
|
<TargetName>$(OutputName)</TargetName>
|
2015-02-06 02:08:48 -04:00
|
|
|
|
|
|
|
<OutputPath>$(OutputPath)en-us\</OutputPath>
|
|
|
|
<OutDir>$(OutputPath)</OutDir>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-10-01 19:18:53 -03:00
|
|
|
<!-- See Tools/msi/buildrelease.bat for help on configuring the download URL -->
|
|
|
|
<DownloadUrl Condition="'$(DownloadUrl)' == '' and '$(DownloadUrlBase)' != ''">$(DownloadUrlBase.TrimEnd(`/`))/{version}/{arch}{releasename}/{msi}</DownloadUrl>
|
2015-11-22 22:20:11 -04:00
|
|
|
<DefineConstants Condition="'$(DownloadUrl)' != ''">$(DefineConstants);DownloadUrl=$(DownloadUrl.Replace(`{version}`, `$(MajorVersionNumber).$(MinorVersionNumber).$(MicroVersionNumber)`).Replace(`{arch}`, `$(ArchName)`).Replace(`{releasename}`, `$(ReleaseLevelName)`).Replace(`{msi}`, `{2}`))</DefineConstants>
|
2015-02-06 02:08:48 -04:00
|
|
|
<DefineConstants Condition="'$(DownloadUrl)' == ''">$(DefineConstants);DownloadUrl={2}</DefineConstants>
|
|
|
|
</PropertyGroup>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<ItemGroup>
|
|
|
|
<WixExtension Include="WixUtilExtension">
|
|
|
|
<HintPath>WixUtilExtension</HintPath>
|
|
|
|
<Name>WixUtilExtension</Name>
|
|
|
|
</WixExtension>
|
|
|
|
<WixExtension Include="WixDependencyExtension">
|
|
|
|
<HintPath>WixDependencyExtension</HintPath>
|
|
|
|
<Name>WixDependencyExtension</Name>
|
|
|
|
</WixExtension>
|
|
|
|
<WixExtension Include="WixBalExtension">
|
|
|
|
<HintPath>WixBalExtension</HintPath>
|
|
|
|
<Name>WixBalExtension</Name>
|
|
|
|
</WixExtension>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Compile Include="bundle.wxs" />
|
|
|
|
<Compile Include="packagegroups\*.wxs" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Content Include="Default.thm" />
|
|
|
|
<Content Include="SideBar.png" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2015-02-28 23:53:50 -04:00
|
|
|
<EmbeddedResource Include="bundle.wxl" />
|
2015-02-06 02:08:48 -04:00
|
|
|
<WxlTemplate Include="*_en-US.wxl_template" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<LinkerBindInputPaths Include="$(OutputPath)">
|
|
|
|
<BindName></BindName>
|
|
|
|
</LinkerBindInputPaths>
|
|
|
|
</ItemGroup>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<Package>
|
|
|
|
<Properties>BuildForRelease=$(BuildForRelease)</Properties>
|
|
|
|
</Package>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Package Include="..\core\core*.wixproj" />
|
|
|
|
<Package Include="..\dev\dev*.wixproj" />
|
|
|
|
<Package Include="..\doc\doc*.wixproj" />
|
|
|
|
<Package Include="..\exe\exe*.wixproj" />
|
|
|
|
<Package Include="..\lib\lib*.wixproj" />
|
|
|
|
<Package Include="..\path\path*.wixproj" />
|
2022-01-17 20:18:44 -04:00
|
|
|
<Package Include="..\appendpath\appendpath*.wixproj" />
|
2015-02-06 02:08:48 -04:00
|
|
|
<Package Include="..\pip\pip*.wixproj" />
|
2022-02-28 08:06:43 -04:00
|
|
|
<Package Include="..\tcltk\tcltk*.wixproj" />
|
2015-02-06 02:08:48 -04:00
|
|
|
<Package Include="..\test\test*.wixproj" />
|
2022-01-28 12:48:06 -04:00
|
|
|
<Package Include="..\ucrt\ucrt*.wixproj" Condition="$(Platform) != 'ARM64'" />
|
2024-01-17 17:52:23 -04:00
|
|
|
<Package Include="..\freethreaded\freethreaded*.wixproj" Condition="$(IncludeFreethreaded) == 'true'" />
|
2015-02-06 02:08:48 -04:00
|
|
|
</ItemGroup>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-07-09 02:43:48 -03:00
|
|
|
<PropertyGroup>
|
|
|
|
<BuildPackagesTargets>Build</BuildPackagesTargets>
|
|
|
|
</PropertyGroup>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-07-09 02:43:48 -03:00
|
|
|
<Target Name="_SetRebuildTarget" BeforeTargets="BeforeRebuild">
|
|
|
|
<PropertyGroup>
|
|
|
|
<BuildPackagesTargets>Rebuild</BuildPackagesTargets>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Target>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<Target Name="BuildPackages" BeforeTargets="BeforeBuild" Condition="'$(RebuildAll)' != 'false'">
|
2015-07-09 02:43:48 -03:00
|
|
|
<MSBuild Projects="@(Package)" Targets="$(BuildPackagesTargets)" BuildInParallel="true" />
|
2015-02-06 02:08:48 -04:00
|
|
|
</Target>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<Target Name="BuildBootstrapApplication" BeforeTargets="BeforeBuild">
|
|
|
|
<Message Text="Building bootstrap app" Importance="high" />
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<MSBuild Projects="bootstrap\pythonba.vcxproj"
|
|
|
|
Targets="Build;GetNativeTargetPath"
|
|
|
|
UseResultsCache="true"
|
2022-01-28 12:48:06 -04:00
|
|
|
Properties="Configuration=$(BootstrapConfiguration);Platform=Win32;BuildForPlatform=$(Platform)">
|
2015-02-06 02:08:48 -04:00
|
|
|
<Output TaskParameter="TargetOutputs" PropertyName="BootstrapAppPath" />
|
|
|
|
</MSBuild>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<PropertyGroup>
|
|
|
|
<DefineConstants>$(DefineConstants);BootstrapApp=$(BootstrapAppPath)</DefineConstants>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Target>
|
2022-01-28 12:48:06 -04:00
|
|
|
|
|
|
|
<Target Name="AddDefaultWxl" AfterTargets="PrepareForBuild" Condition="!Exists('Default.$(Platform).xsl')">
|
|
|
|
<ItemGroup>
|
|
|
|
<EmbeddedResource Include="Default.wxl" />
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
|
|
<DefineConstants>$(DefineConstants);DefaultWxl=Default.wxl</DefineConstants>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Target>
|
|
|
|
<Target Name="AddUpdatedDefaultWxl" AfterTargets="PrepareForBuild" Condition="Exists('Default.$(Platform).xsl')">
|
|
|
|
<XslTransformation XmlInputPaths="Default.wxl"
|
|
|
|
OutputPaths="$(IntermediateOutputPath)Default.wxl"
|
|
|
|
XslInputPath="Default.$(Platform).xsl"
|
|
|
|
UseTrustedSettings="true" />
|
|
|
|
<ItemGroup>
|
|
|
|
<EmbeddedResource Include="$(IntermediateOutputPath)Default.wxl" />
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
|
|
<DefineConstants>$(DefineConstants);DefaultWxl=$(IntermediateOutputPath)Default.wxl</DefineConstants>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Target>
|
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<Import Project="..\msi.targets" />
|
2022-01-17 20:18:44 -04:00
|
|
|
</Project>
|