Recompiled latest Godot repo:result executable is more than 3x the size!

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

I have recompiled the engine with scons 3.0 to be able to use Kestrel Moon’s Creature, which has been successful. However, the size of the executable is now more than 3x the size. Also, the engine seems a bit slower than the official 3.0 release. Any idea?

Did you pass target=release? If not it’s probably larger and slower due to the debug symbols and lower optimization level.

Pieter-Jan Briers | 2018-03-18 14:40

Oh, thanks for giving that hint! I’ll give that a try now.

Footurist | 2018-03-18 18:17

Scons throws the error Tools can only be built with targets "debug" and "release_debug". Since it doesn’t say the argument is invalid, which it does for invalidArgument for example, it does exist. How do I make it available?

Footurist | 2018-03-18 18:22

Passing tools=no as a parameter works, but obviously disables tools and the docs say it runs without editor, then. How is the official Godot release so small then?

Footurist | 2018-03-18 18:33

:bust_in_silhouette: Reply From: Footurist

Turns out the official one is built with release_debug, I must have overlooked that previously.