Godot build options generator

Last updated for Godot 4.2.x. This generator may work with other Godot versions, but certain options may not have an effect.

This tool generates SCons custom option files to build smaller export templates. After downloading a custom.py file, place it at the root of your Godot source repository and compile export templates for the platforms you need. Once this is done, you'll only have to specify the platform=<platform> target=release options on the SCons command line. See Optimizing a build for size in the Godot documentation for more information.

Note: Since this tool is dedicated to building smaller export templates, it doesn't list modules that are only compiled in editor builds.

Select options and modules

Resulting custom.py