Added alternate slim args when building the editor with the setup script. Also updated the list and style of the example.

This commit is contained in:
Relintai 2023-04-16 17:19:55 +02:00
parent d6442bc57c
commit fbfbbd3e00
2 changed files with 72 additions and 2 deletions

View File

@ -434,7 +434,11 @@ if len(sys.argv) > 1:
build_string += ' ' + sys.argv[i] + ' ' build_string += ' ' + sys.argv[i] + ' '
if 'slim' in arg_split: if 'slim' in arg_split:
build_string += module_config.slim_args if 'e' in arg:
build_string += module_config.slim_args_editor
else:
build_string += module_config.slim_args
build_string += ' ' build_string += ' '
if 'latomic' in arg_split: if 'latomic' in arg_split:

View File

@ -34,4 +34,70 @@ third_party_addon_repositories = [
# Relative to the engine directory # Relative to the engine directory
custom_module_folders = "" custom_module_folders = ""
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' slim_args = ''
#slim_args += 'module_bmp_enabled=no '
#slim_args += 'module_broken_seals_module_enabled=no '
#slim_args += 'module_cscript_enabled=no '
#slim_args += 'module_database_enabled=no '
#slim_args += 'module_database_sqlite_enabled=no '
#slim_args += 'module_dds_enabled=no '
#slim_args += 'module_enet_enabled=no '
#slim_args += 'module_entity_spell_system_enabled=no '
#slim_args += 'module_fastnoise_enabled=no '
#slim_args += 'module_freetype_enabled=no '
#slim_args += 'module_gdscript_enabled=no '
#slim_args += 'module_gridmap_enabled=no '
#slim_args += 'module_hdr_enabled=no '
#slim_args += 'module_http_server_simple_enabled=no '
#slim_args += 'module_jpg_enabled=no '
#slim_args += 'module_lz4_enabled=no '
#slim_args += 'module_material_maker_enabled=no '
#slim_args += 'module_mbedtls_enabled=no '
#slim_args += 'module_mesh_data_resource_enabled=no '
#slim_args += 'module_mesh_utils_enabled=no '
#slim_args += 'module_minimp3_enabled=no '
#slim_args += 'module_navigation_enabled=no '
#slim_args += 'module_network_synchronizer_enabled=no '
#slim_args += 'module_ogg_enabled=no '
#slim_args += 'module_opensimplex_enabled=no '
#slim_args += 'module_opus_enabled=no '
#slim_args += 'module_paint_enabled=no '
#slim_args += 'module_props_enabled=no '
#slim_args += 'module_props_2d_enabled=no '
#slim_args += 'module_pvr_enabled=no '
#slim_args += 'module_regex_enabled=no '
#slim_args += 'module_skeleton_2d_enabled=no '
#slim_args += 'module_skeleton_3d_enabled=no '
#slim_args += 'module_squish_enabled=no '
#slim_args += 'module_stb_vorbis_enabled=no '
#slim_args += 'module_steering_ai_enabled=no '
#slim_args += 'module_svg_enabled=no '
#slim_args += 'module_terraman_enabled=no '
#slim_args += 'module_terraman_2d_enabled=no '
#slim_args += 'module_texture_packer_enabled=no '
#slim_args += 'module_tga_enabled=no '
#slim_args += 'module_theora_enabled=no '
#slim_args += 'module_tile_map_enabled=no '
#slim_args += 'module_ui_extensions_enabled=no '
#slim_args += 'module_unit_test_enabled=no '
#slim_args += 'module_upnp_enabled=no '
#slim_args += 'module_users_enabled=no '
#slim_args += 'module_vhacd_enabled=no '
#slim_args += 'module_vorbis_enabled=no '
#slim_args += 'module_voxelman_enabled=no '
#slim_args += 'module_web_enabled=no '
#slim_args += 'module_websocket_enabled=no '
#slim_args += 'module_wfc_enabled=no '
#slim_args += 'module_cvtt_enabled=no '
#slim_args += 'module_editor_code_editor_enabled=no '
#slim_args += 'module_etc_enabled=no '
#slim_args += 'module_gltf_enabled=no '
#slim_args += 'module_plugin_refresher_enabled=no '
#slim_args += 'module_shader_editor_enabled=no '
#slim_args += 'module_text_editor_enabled=no '
#slim_args += 'module_tinyexr_enabled=no '
#slim_args += 'disable_advanced_gui=yes '
#slim_args += 'disable_3d=yes '
slim_args_editor = slim_args