Add support for binary modules with native-code only
This commit is contained in:
@@ -831,6 +831,11 @@ namespace Flax.Build
|
||||
// C#-only binary module
|
||||
binaryModuleInfo.NativePath = string.Empty;
|
||||
}
|
||||
if (!binaryModule.Any(x => x.BuildCSharp))
|
||||
{
|
||||
// Skip C#
|
||||
binaryModuleInfo.ManagedPath = string.Empty;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case TargetLinkType.Modular:
|
||||
@@ -850,6 +855,11 @@ namespace Flax.Build
|
||||
// C#-only binary module
|
||||
binaryModuleInfo.NativePath = string.Empty;
|
||||
}
|
||||
if (!module.BuildCSharp)
|
||||
{
|
||||
// Skip C#
|
||||
binaryModuleInfo.ManagedPath = string.Empty;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: throw new ArgumentOutOfRangeException();
|
||||
|
||||
Reference in New Issue
Block a user