macoslib / macoslib

MacOSLib - a set of classes to use OS X specific functions in Real Studio / Xojo applications
71 stars 37 forks source link

Application File Size #128

Open Axel-Erfurt opened 10 years ago

Axel-Erfurt commented 10 years ago

why is the file size of the final application so great?

12MB if I only use a Cocoa MenuItem and the find panel for a TextArea. Without it only has a size of 5 MB.

vaughnsc commented 10 years ago

As I understand it, Xojo's proprietary compiler does not skip unused code, so every bit of macoslib is included.

At some point the migration to llvm ("in progress" since Cocoa support was announced) touted having the kind of conditional compilation you're hinting at, but that remains to be seen, assuming I even recall that bit correctly.