diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-18 15:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 15:32:08 +0100 |
commit | 4663625d11899a0744b0bbfd7e5b06ecb4e3e8ae (patch) | |
tree | 06ccc8b246b6fd838e46d7417b76154464a0b747 /modules | |
parent | 78ef4b707a1f02a0176d96e9cb2cb144e5fae041 (diff) | |
parent | 94b6c1363c6e51f9b0e186a1bf1930ee9bb6c4f5 (diff) |
Merge pull request #37112 from Xrayez/mono-generate-help
Generate command line help text for the `mono` module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/config.py b/modules/mono/config.py index 70cb464c7a..a5d3059ecc 100644 --- a/modules/mono/config.py +++ b/modules/mono/config.py @@ -9,7 +9,7 @@ def configure(env): env.use_ptrcall = True env.add_module_version_string('mono') - from SCons.Script import BoolVariable, PathVariable, Variables + from SCons.Script import BoolVariable, PathVariable, Variables, Help envvars = Variables() envvars.Add(PathVariable('mono_prefix', 'Path to the mono installation directory for the target platform and architecture', '', PathVariable.PathAccept)) @@ -18,6 +18,7 @@ def configure(env): envvars.Add(BoolVariable('copy_mono_root', 'Make a copy of the mono installation directory to bundle with the editor', False)) envvars.Add(BoolVariable('xbuild_fallback', 'If MSBuild is not found, fallback to xbuild', False)) envvars.Update(env) + Help(envvars.GenerateHelpText(env)) if env['platform'] == 'javascript': # Mono wasm already has zlib builtin, so we need this workaround to avoid symbol collisions |