I am mucking around with the Ogre 1.8.1 SDK at the moment.
At this stage a compilation of my current project takes about 12.75 seconds. I figure that the compilation time is due to the plethora of header files in Ogre in general (as my project consists of about two .h and two .cpp files - not a big project).
I have started merging header files manually into Ogre.h to see how fast I can get my project compiling.
I have merged about 10 files so far and have managed to knock almost half a second off compilation, so I am pretty keen to see how far I can take it
I have looked all over the net but can't find any utilities that will do this 'auto-magically'. The fastest method I have worked out so far is using Notepad++, as you can do a find and replace in a whole stack of files at once.
Still lengthy and tedious though, due to the way that Ogre headers get referenced all over the place.
If I can make a sub 6 second compilation time, it would be absolutely awesome.
I'll let you know how it goes

