Skip to content

Commit

Permalink
Merge pull request #442 from robmen/5536-nativeca
Browse files Browse the repository at this point in the history
Introduce wix.nativeca.targets
  • Loading branch information
barnson authored Apr 30, 2017
2 parents 946d963 + f674ed2 commit 620dfe8
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Setup/CoreMsi/MSBuild.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<Component>
<File Source="wix.ca.targets" />
</Component>

<Component>
<File Source="wix.nativeca.targets" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
6 changes: 6 additions & 0 deletions src/Setup/Zip/binaries.zipproj
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@
</Stage>
</ItemGroup>

<ItemGroup>
<Stage Include="$(OutputPath)wix.nativeca.targets">
<StageSubDirectory>sdk</StageSubDirectory>
</Stage>
</ItemGroup>

<!-- Headers -->
<ItemGroup>
<Stage Include="$(WixRoot)src\burn\inc\*.h">
Expand Down
3 changes: 3 additions & 0 deletions src/tools/WixTasks/WixTasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
<Content Include="wix.ca.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="wix.nativeca.targets">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
Expand Down
25 changes: 25 additions & 0 deletions src/tools/WixTasks/wix.nativeca.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<Import Project="$(CustomBeforeWixNativeCATargets)" Condition=" '$(CustomBeforeWixNativeCATargets)' != '' and Exists('$(CustomBeforeWixNativeCATargets)')" />

<PropertyGroup>
<WixNativeCATargetsImported>true</WixNativeCATargetsImported>

<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v100' ">VS2010</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v110' ">VS2012</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v110_xp' ">VS2012</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v120' ">VS2013</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v120_xp' ">VS2013</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v140' ">VS2015</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v140_xp' ">VS2015</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v141' ">VS2017</WixPlatformToolset>
<WixPlatformToolset Condition=" '$(PlatformToolset)'=='v141_xp' ">VS2017</WixPlatformToolset>

<WixPlatformToolset Condition=" '$(WixPlatformToolset)'=='' ">VS2015</WixPlatformToolset>
</PropertyGroup>

<Import Project="$(CustomAfterWixNativeCATargets)" Condition=" '$(CustomAfterWixNativeCATargets)' != '' and Exists('$(CustomAfterWixNativeCATargets)')" />

</Project>

0 comments on commit 620dfe8

Please sign in to comment.