Mac impl progress
This commit is contained in:
@@ -234,8 +234,6 @@ namespace Flax.Build
|
||||
{
|
||||
if (options.Platform.Target == TargetPlatform.PS5)
|
||||
return false; // TODO: mono for ps5
|
||||
if (options.Platform.Target == TargetPlatform.Mac)
|
||||
return false; // TODO: mono for Mac
|
||||
return UseCSharp || options.Target.IsEditor;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,6 +40,11 @@ namespace Flax.Deps.Dependencies
|
||||
TargetPlatform.Linux,
|
||||
TargetPlatform.Android,
|
||||
};
|
||||
case TargetPlatform.Mac:
|
||||
return new[]
|
||||
{
|
||||
TargetPlatform.Mac,
|
||||
};
|
||||
default: return new TargetPlatform[0];
|
||||
}
|
||||
}
|
||||
@@ -707,6 +712,26 @@ namespace Flax.Deps.Dependencies
|
||||
method.Invoke(null, new object[] { root, options });
|
||||
break;
|
||||
}
|
||||
case TargetPlatform.Mac:
|
||||
{
|
||||
var monoOptions = new[]
|
||||
{
|
||||
"--with-xen-opt=no",
|
||||
"--without-ikvm-native",
|
||||
"--disable-boehm",
|
||||
"--disable-nls",
|
||||
"--disable-iconv",
|
||||
//"--disable-mcs-build",
|
||||
"--with-mcs-docs=no",
|
||||
"--with-tls=pthread",
|
||||
//"--enable-static",
|
||||
"--enable-maintainer-mode",
|
||||
};
|
||||
var buildDir = Path.Combine(root, "build-mac");
|
||||
|
||||
// Build mono
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user