|
@@ -63,6 +63,52 @@ modules and see which ones you actually still need for your game (e.g. you
|
|
might want to keep networking-related modules, regex support, or theora/webm
|
|
might want to keep networking-related modules, regex support, or theora/webm
|
|
to play videos).
|
|
to play videos).
|
|
|
|
|
|
|
|
+Alternatively, you can supply a list of disabled modules by creating
|
|
|
|
+``custom.py`` at the root of the source, with the contents similar to the
|
|
|
|
+following:
|
|
|
|
+
|
|
|
|
+.. code-block:: python
|
|
|
|
+
|
|
|
|
+ # custom.py
|
|
|
|
+
|
|
|
|
+ module_arkit_enabled = "no"
|
|
|
|
+ module_assimp_enabled = "no"
|
|
|
|
+ module_bmp_enabled = "no"
|
|
|
|
+ module_bullet_enabled = "no"
|
|
|
|
+ module_camera_enabled = "no"
|
|
|
|
+ module_csg_enabled = "no"
|
|
|
|
+ module_dds_enabled = "no"
|
|
|
|
+ module_enet_enabled = "no"
|
|
|
|
+ module_etc_enabled = "no"
|
|
|
|
+ module_gdnative_enabled = "no"
|
|
|
|
+ module_gridmap_enabled = "no"
|
|
|
|
+ module_hdr_enabled = "no"
|
|
|
|
+ module_jsonrpc_enabled = "no"
|
|
|
|
+ module_mbedtls_enabled = "no"
|
|
|
|
+ module_mobile_vr_enabled = "no"
|
|
|
|
+ module_opensimplex_enabled = "no"
|
|
|
|
+ module_opus_enabled = "no"
|
|
|
|
+ module_pvr_enabled = "no"
|
|
|
|
+ module_recast_enabled = "no"
|
|
|
|
+ module_regex_enabled = "no"
|
|
|
|
+ module_squish_enabled = "no"
|
|
|
|
+ module_svg_enabled = "no"
|
|
|
|
+ module_tga_enabled = "no"
|
|
|
|
+ module_theora_enabled = "no"
|
|
|
|
+ module_tinyexr_enabled = "no"
|
|
|
|
+ module_upnp_enabled = "no"
|
|
|
|
+ module_vhacd_enabled = "no"
|
|
|
|
+ module_vorbis_enabled = "no"
|
|
|
|
+ module_webm_enabled = "no"
|
|
|
|
+ module_webp_enabled = "no"
|
|
|
|
+ module_webrtc_enabled = "no"
|
|
|
|
+ module_websocket_enabled = "no"
|
|
|
|
+ module_xatlas_unwrap_enabled = "no"
|
|
|
|
+
|
|
|
|
+.. seealso::
|
|
|
|
+
|
|
|
|
+ :ref:`doc_overriding_build_options`.
|
|
|
|
+
|
|
Optimizing for size instead of speed
|
|
Optimizing for size instead of speed
|
|
------------------------------------
|
|
------------------------------------
|
|
|
|
|