godot-cpp-template icon indicating copy to clipboard operation
godot-cpp-template copied to clipboard

How to compile a smaller shared library(.dll) file, such as adding some compilation options

Open wooistxx opened this issue 1 year ago • 1 comments

The size of shared library compiled by Github Action:

  • windows_x86_64.debug: 1.12MB
  • windows_x86_64.release: 0.8MB

However, the size of shared library compiled by my laptop( win10, mingw64-8.1.0 ):

  • windows_x86_64.debug: 5.97MB
  • windows_x86_64.release: 5.52MB

The Godot Editor version: v4.1.stable.official

wooistxx avatar Sep 08 '23 06:09 wooistxx