Optimizing Godot Size

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Declassified

I searched for optimizing a build for size in godot docs
and I found some codes…The problem is where can i write it?

scons p=windows target=release tools=no disable_3d=yes
scons p=windows target=release tools=no disable_advanced_gui=yes

I notice that the instruction mentioned about build flag…

Sorry for this question, it might sound dumb but i am not familiar with command prompt…:smiley:

First, you need to set up the build environment for the platform you are targeting.

Here’s the docs for windows:
Compiling for Windows — Godot Engine (3.1) documentation in English

And here the general docs for that topic:
Compiling — Godot Engine (3.1) documentation in English

If that is done, you usually can execute scons from the command line (inside the godot project/source directory).

wombatstampede | 2020-01-15 15:02