Added fix for 32-Bit build of DMF

This commit is contained in:
Benjamin Höglinger-Stelzer
2020-12-04 11:40:33 +01:00
parent f14ba5db9c
commit 5861ea36f3
2 changed files with 6 additions and 12 deletions

View File

@@ -117,29 +117,17 @@ Global
{C722B85E-FC7D-475F-A518-C8E13ECDB201}.Release|x86.ActiveCfg = Release|x86
{C722B85E-FC7D-475F-A518-C8E13ECDB201}.Release|x86.Build.0 = Release|x86
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_DLL|x64.ActiveCfg = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_DLL|x64.Build.0 = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_DLL|x86.ActiveCfg = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_DLL|x86.Build.0 = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_LIB|x64.ActiveCfg = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_LIB|x64.Build.0 = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_LIB|x86.ActiveCfg = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug_LIB|x86.Build.0 = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug|x64.ActiveCfg = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug|x64.Build.0 = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug|x86.ActiveCfg = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Debug|x86.Build.0 = Debug|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_DLL|x64.ActiveCfg = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_DLL|x64.Build.0 = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_DLL|x86.ActiveCfg = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_DLL|x86.Build.0 = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_LIB|x64.ActiveCfg = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_LIB|x64.Build.0 = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_LIB|x86.ActiveCfg = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release_LIB|x86.Build.0 = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release|x64.ActiveCfg = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release|x64.Build.0 = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release|x86.ActiveCfg = Release|Any CPU
{C2BA387E-D491-4FB7-8BEE-99D77E8949E7}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@@ -50,10 +50,16 @@ class Build : NukeBuild
Console.WriteLine($"DMF solution path: {DmfSolution}");
var platform = MSBuildTargetPlatform.x64;
if(AppVeyor.Instance.Platform != null && AppVeyor.Instance.Platform.Equals("x86"))
platform = MSBuildTargetPlatform.Win32;
MSBuild(s => s
.SetTargetPath(DmfSolution)
.SetTargets("Rebuild")
.SetConfiguration(Configuration)
.SetTargetPlatform(platform)
.SetMaxCpuCount(Environment.ProcessorCount)
.SetNodeReuse(IsLocalBuild));
});