Compialing Irrlicht with only the nessoserry features?

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
hessiess
Posts: 47
Joined: Wed Mar 12, 2008 8:39 pm

Compialing Irrlicht with only the nessoserry features?

Post by hessiess »

The applications produced from irrlicht are quite large, around 14 meg, while this is not massive, there is bound to be a lot of code which is not being used, sutch as all the graphics renderers besides OpenGL.

1) How easy/hard would it be to compile the lib with only the code which I am accualy using.

2) How would doing this effect licence issues.
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

1) static lib instead of dll
2) not affected at all, go read the license.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

My binaries tend to be much smaller, except for the debug versions. Under Linux you can strip the executable, under Windows always compile Release mode unless you're still testing. Should help already.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Also: include/IrrCompileConfig.h
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
hessiess
Posts: 47
Joined: Wed Mar 12, 2008 8:39 pm

Post by hessiess »

Thanks.
Post Reply