Now the slim build's arguments are also taken from the module config.

This commit is contained in:
Relintai 2021-09-06 19:10:40 +02:00
parent 9f1183966e
commit f52bfb0190
2 changed files with 3 additions and 1 deletions

View File

@ -371,7 +371,7 @@ if len(sys.argv) > 1:
build_string += ' ' + sys.argv[i] + ' '
if 'slim' in arg_split:
build_string += 'module_webm_enabled=no module_arkit_enabled=no module_visual_script_enabled=no module_gdnative_enabled=no module_mobile_vr_enabled=no module_theora_enabled=no module_xatlas_unwrap_enabled=no'
build_string += module_config.slim_args
build_string += ' '
if 'latomic' in arg_split:

View File

@ -27,3 +27,5 @@ addon_repositories = [
third_party_addon_repositories = [
]
slim_args = 'module_webm_enabled=no module_arkit_enabled=no module_visual_script_enabled=no module_gdnative_enabled=no module_mobile_vr_enabled=no module_theora_enabled=no module_xatlas_unwrap_enabled=no'