Skip to content

Commit

Permalink
Build tweaks for ARM64.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Feb 27, 2020
1 parent 2785c70 commit 90c9809
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions history/5558.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* BobArnson: WIXFEATURE:5558 - Implement ARM64 support in core toolset
2 changes: 1 addition & 1 deletion src/Setup/NativeSdkMsi/Libs.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<Fragment>
<ComponentGroup Id="LibARM64Components" Directory="SdkARM64LibFolder">
<?if $(var.BuildARM64) = true ?>
<?if $(var.BuildARM64) = true and $(var.VisualStudioTargetVersion) = 2017 ?>
<Component>
<File Id="dutil_arm64.lib" Source="!(bindpath.arm64)\$(var.VisualStudioTargetVersion)\dutil.lib"/>
</Component>
Expand Down
3 changes: 0 additions & 3 deletions src/libs/libs.proj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<ProjectReference Include="libs_multitarget.proj">
<Properties>Platform=x64</Properties>
</ProjectReference>
<ProjectReference Include="libs_multitarget.proj" Condition="$(BuildARM)">
<Properties>Platform=arm</Properties>
</ProjectReference>
<ProjectReference Include="libs_multitarget.proj" Condition="$(BuildARM64)">
<Properties>Platform=arm64</Properties>
</ProjectReference>
Expand Down
16 changes: 8 additions & 8 deletions src/libs/libs_multitarget.proj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<ItemGroup Condition=" $(VS2010Available) ">
<ItemGroup Condition=" $(VS2010Available) AND '$(Platform)'!='arm64' ">
<ProjectReference Include="dutil\dutil.vcxproj">
<Properties>PlatformToolset=v100</Properties>
</ProjectReference>
Expand All @@ -18,7 +18,7 @@
</ProjectReference>
</ItemGroup>

<ItemGroup Condition=" $(VS2012Available) ">
<ItemGroup Condition=" $(VS2012Available) AND '$(Platform)'!='arm64' ">
<ProjectReference Include="dutil\dutil.vcxproj">
<Properties>PlatformToolset=v110_xp</Properties>
</ProjectReference>
Expand All @@ -33,7 +33,7 @@
</ProjectReference>
</ItemGroup>

<ItemGroup Condition=" $(VS2013Available) and !$(StaticAnalysisEnabled) ">
<ItemGroup Condition=" $(VS2013Available) and !$(StaticAnalysisEnabled) AND '$(Platform)'!='arm64' ">
<ProjectReference Include="dutil\dutil.vcxproj">
<Properties>PlatformToolset=v120_xp</Properties>
</ProjectReference>
Expand All @@ -48,7 +48,7 @@
</ProjectReference>
</ItemGroup>

<ItemGroup Condition=" $(VS2013Available) and $(StaticAnalysisEnabled) ">
<ItemGroup Condition=" $(VS2013Available) and $(StaticAnalysisEnabled) AND '$(Platform)'!='arm64' ">
<ProjectReference Include="dutil\dutil.vcxproj">
<Properties>PlatformToolset=v120</Properties>
</ProjectReference>
Expand All @@ -63,7 +63,7 @@
</ProjectReference>
</ItemGroup>

<ItemGroup Condition=" $(VS2015Available) and !$(StaticAnalysisEnabled) ">
<ItemGroup Condition=" $(VS2015Available) and !$(StaticAnalysisEnabled) AND '$(Platform)'!='arm64' ">
<ProjectReference Include="dutil\dutil.vcxproj">
<Properties>PlatformToolset=v140_xp</Properties>
</ProjectReference>
Expand All @@ -78,7 +78,7 @@
</ProjectReference>
</ItemGroup>

<ItemGroup Condition=" $(VS2015Available) and $(StaticAnalysisEnabled) ">
<ItemGroup Condition=" $(VS2015Available) and $(StaticAnalysisEnabled) AND '$(Platform)'!='arm64' ">
<ProjectReference Include="dutil\dutil.vcxproj">
<Properties>PlatformToolset=v140</Properties>
</ProjectReference>
Expand All @@ -100,7 +100,7 @@
<ProjectReference Include="wcautil\wcautil.vcxproj">
<Properties>PlatformToolset=v141_xp</Properties>
</ProjectReference>
<ProjectReference Include="balutil\balutil.vcxproj" Condition=" '$(Platform)'=='x86' OR '$(Platform)'=='arm' ">
<ProjectReference Include="balutil\balutil.vcxproj" Condition=" '$(Platform)'=='x86' ">
<Properties>PlatformToolset=v141_xp</Properties>
</ProjectReference>
<ProjectReference Include="deputil\deputil.vcxproj">
Expand All @@ -115,7 +115,7 @@
<ProjectReference Include="wcautil\wcautil.vcxproj">
<Properties>PlatformToolset=v141</Properties>
</ProjectReference>
<ProjectReference Include="balutil\balutil.vcxproj" Condition=" '$(Platform)'=='x86' OR '$(Platform)'=='arm' ">
<ProjectReference Include="balutil\balutil.vcxproj" Condition=" '$(Platform)'=='arm' ">
<Properties>PlatformToolset=v141</Properties>
</ProjectReference>
<ProjectReference Include="deputil\deputil.vcxproj">
Expand Down
1 change: 1 addition & 0 deletions wix.proj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<ProjectReference Include="src\chm\chm.helpproj" />
<ProjectReference Include="src\setup\setup.proj" />
<ProjectReference Include="test\test.proj" />
<!-- <ProjectReference Include="src\wixarm.proj" Condition=" $(BuildARM) " /> -->
</ItemGroup>

<Import Project="tools\Traversal.targets" />
Expand Down

0 comments on commit 90c9809

Please sign in to comment.