Cotire - CMake lib for speeding up build times

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
al2950
OGRE Expert User
OGRE Expert User
Posts: 1227
Joined: Thu Dec 11, 2008 7:56 pm
Location: Bristol, UK
x 157

Cotire - CMake lib for speeding up build times

Post by al2950 »

I know Ogre already has unity builds, but I just came across this little cmake lib and it was so easy to automagically add pre-compiled headers and unity build to my project I thought I should share. My build times went from 19 mins to 50 SECONDS !! :shock: (Admittedly one of my libraries is in a bit of mess when comes to include files)

Anyway if you want to check it out you can find it here;
https://github.com/sakra/cotire
User avatar
moejac
Halfling
Posts: 45
Joined: Tue Dec 08, 2009 9:18 am

Re: Cotire - CMake lib for speeding up build times

Post by moejac »

That looks absolutely great :)

It would be interesting how it fares on a non-trivial (involved) project.
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

Re: Cotire - CMake lib for speeding up build times

Post by Herb »

I've never heard of this, but from the description it sounds very promising. Thanks for sharing the info on it!