Mono: Add mono_bcl SCons option for a custom BCL location

Makes it let's bothersome to work with builds from our
godotengine/godot-mono-builds scripts, as they write the
BCL into an output directory separate from the runtime
(which is good as two runtimes may share the same BCL).
This commit is contained in:
Ignacio Etcheverry 2020-12-06 01:15:17 +01:00
parent 93b107ac93
commit dd5ace219d
2 changed files with 12 additions and 3 deletions

View file

@ -27,6 +27,14 @@ def configure(env):
PathVariable.PathAccept,
)
)
envvars.Add(
PathVariable(
"mono_bcl",
"Path to a custom Mono BCL (Base Class Library) directory for the target platform",
"",
PathVariable.PathAccept,
)
)
envvars.Add(BoolVariable("mono_static", "Statically link Mono", default_mono_static))
envvars.Add(BoolVariable("mono_glue", "Build with the Mono glue sources", True))
envvars.Add(BoolVariable("build_cil", "Build C# solutions", True))