Skip to content

Commit

Permalink
Add SCons option to not build C# solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
neikeq authored and h committed Nov 10, 2020
1 parent 71ca20c commit e8e16f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env_mono = conf.Finish()

mono_configure.configure(env, env_mono)

if env_mono['tools'] and env_mono['mono_glue']:
if env_mono['tools'] and env_mono['mono_glue'] and env_mono['build_cil']:
# Build Godot API solution
import build_scripts.api_solution_build as api_solution_build
api_sln_cmd = api_solution_build.build(env_mono)
Expand Down
1 change: 1 addition & 0 deletions modules/mono/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def configure(env):
)
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))
envvars.Add(
BoolVariable(
"copy_mono_root", "Make a copy of the mono installation directory to bundle with the editor", False
Expand Down

0 comments on commit e8e16f5

Please sign in to comment.