Skip to content

Commit 45b5daf

Browse files
authored
Merge pull request swiftlang#13 from compnerd/devtools
Windows: add developer tools packaging rules
2 parents 6526c94 + b704bc7 commit 45b5daf

File tree

2 files changed

+333
-0
lines changed

2 files changed

+333
-0
lines changed

platforms/Windows/devtools.wixproj

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTarget="Build">
3+
<PropertyGroup>
4+
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
5+
</PropertyGroup>
6+
7+
<PropertyGroup>
8+
<OutputName>devtools</OutputName>
9+
<OutputType>Package</OutputType>
10+
<ProjectGuid>0a266072-af7c-43f2-b192-dd86995c2e82</ProjectGuid>
11+
<SchemaVersion>2.0</SchemaVersion>
12+
<ProductVersion Condition=" '$(ProductVersion)' == '' ">0.0.0</ProductVersion>
13+
<ProductVersion>0.0.0</ProductVersion>
14+
</PropertyGroup>
15+
16+
<PropertyGroup>
17+
<OutputPath>build\</OutputPath>
18+
<IntermediateOutputPath>build\obj\</IntermediateOutputPath>
19+
<DefineSolutionProperties>false</DefineSolutionProperties>
20+
</PropertyGroup>
21+
22+
<Import Project="$(WixTargetsPath)" />
23+
24+
<PropertyGroup>
25+
<DefineConstants>ProductVersion=$(ProductVersion);DEVTOOLS_ROOT=$(DEVTOOLS_ROOT);</DefineConstants>
26+
<HarvestDirectoryAutogenerateGuids>false</HarvestDirectoryAutogenerateGuids>
27+
<HarvestDirectoryGenerateGuidsNow>true</HarvestDirectoryGenerateGuidsNow>
28+
<HarvestDirectoryNoLogo>true</HarvestDirectoryNoLogo>
29+
<HarvestDirectorySuppressCom>true</HarvestDirectorySuppressCom>
30+
<HarvestDirectorySuppressFragments>true</HarvestDirectorySuppressFragments>
31+
<HarvestDirectorySuppressRegistry>true</HarvestDirectorySuppressRegistry>
32+
<HarvestDirectorySuppressRootDirectory>true</HarvestDirectorySuppressRootDirectory>
33+
</PropertyGroup>
34+
35+
<ItemGroup>
36+
<Compile Include="devtools.wxs" />
37+
</ItemGroup>
38+
</Project>

0 commit comments

Comments
 (0)