diff --git a/build/build.cake b/build/build.cake index b4ecebd6..08f0f7ce 100644 --- a/build/build.cake +++ b/build/build.cake @@ -214,6 +214,35 @@ Task("Build") Information("\nBuild x86 Step"); MSBuild(win32Solution, buildSettings); } + + { + var buildSettings = new MSBuildSettings + { + PlatformTarget = PlatformTarget.ARM64, + MaxCpuCount = 1, + } + .SetConfiguration("Release") + .UseToolVersion(MSBuildToolVersion.VS2019) + .WithTarget("Restore"); + + Information("\nRestore ARM64 Step"); + MSBuild(win32Solution, buildSettings); + } + + { + // Build once with normal dependency ordering + var buildSettings = new MSBuildSettings + { + PlatformTarget = PlatformTarget.ARM64, + MaxCpuCount = 1, + } + .SetConfiguration("Release") + .UseToolVersion(MSBuildToolVersion.VS2019) + .WithTarget("Build"); + + Information("\nBuild ARM64 Step"); + MSBuild(win32Solution, buildSettings); + } });