Skip to content

Commit

Permalink
Merge pull request swiftlang#13 from compnerd/devtools
Browse files Browse the repository at this point in the history
Windows: add developer tools packaging rules
  • Loading branch information
compnerd authored Aug 5, 2021
2 parents 6526c94 + b704bc7 commit 45b5daf
Show file tree
Hide file tree
Showing 2 changed files with 333 additions and 0 deletions.
38 changes: 38 additions & 0 deletions platforms/Windows/devtools.wixproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTarget="Build">
<PropertyGroup>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
</PropertyGroup>

<PropertyGroup>
<OutputName>devtools</OutputName>
<OutputType>Package</OutputType>
<ProjectGuid>0a266072-af7c-43f2-b192-dd86995c2e82</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<ProductVersion Condition=" '$(ProductVersion)' == '' ">0.0.0</ProductVersion>
<ProductVersion>0.0.0</ProductVersion>
</PropertyGroup>

<PropertyGroup>
<OutputPath>build\</OutputPath>
<IntermediateOutputPath>build\obj\</IntermediateOutputPath>
<DefineSolutionProperties>false</DefineSolutionProperties>
</PropertyGroup>

<Import Project="$(WixTargetsPath)" />

<PropertyGroup>
<DefineConstants>ProductVersion=$(ProductVersion);DEVTOOLS_ROOT=$(DEVTOOLS_ROOT);</DefineConstants>
<HarvestDirectoryAutogenerateGuids>false</HarvestDirectoryAutogenerateGuids>
<HarvestDirectoryGenerateGuidsNow>true</HarvestDirectoryGenerateGuidsNow>
<HarvestDirectoryNoLogo>true</HarvestDirectoryNoLogo>
<HarvestDirectorySuppressCom>true</HarvestDirectorySuppressCom>
<HarvestDirectorySuppressFragments>true</HarvestDirectorySuppressFragments>
<HarvestDirectorySuppressRegistry>true</HarvestDirectorySuppressRegistry>
<HarvestDirectorySuppressRootDirectory>true</HarvestDirectorySuppressRootDirectory>
</PropertyGroup>

<ItemGroup>
<Compile Include="devtools.wxs" />
</ItemGroup>
</Project>
Loading

0 comments on commit 45b5daf

Please sign in to comment.