Reduce filesize of release build

Issue #25 resolved
Carbon Monoxide created an issue

The target audience of titanengine typically favors small executables.

Comments (6)

  1. Duncan

    there are only a few initialized global variables, so I think we can cut max ~5-10kb from the final DLL, but then it will require initialization functions that zero the buffers, so I think thats not a big thing...

    LibraryLoaders are almost as small as you can get them, we could however cut the GUI icon + bitmap, that would save us ~200kb.

    UPX-ing gets me ~300kb (with resource crap)

    without resource crap, UPX it gets down to ~180kb, which should be slim enough for the people who really care.

    we could also add some #ifdef _WIN64 to leave out the x64 libraryloader on the x86 and vice versa

  2. Log in to comment