Skip to content

Commit f63af3d

Browse files
committed
Add PUBLISH_AOT_COMPRESSED option to CLI sample
1 parent 22fcea0 commit f63af3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
3434
</PropertyGroup>
3535

36+
<!-- If requested, also reference the UPX compression package -->
37+
<ItemGroup Condition="'$(PUBLISH_AOT_COMPRESSED)' == 'true'">
38+
<PackageReference Include="PublishAotCompressed" Version="1.0.0" />
39+
</ItemGroup>
40+
3641
<!-- Application icon -->
3742
<ItemGroup>
3843
<Content Include="icon.ico" />

0 commit comments

Comments
 (0)