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 !! (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
Cotire - CMake lib for speeding up build times
-
- OGRE Expert User
- Posts: 1227
- Joined: Thu Dec 11, 2008 7:56 pm
- Location: Bristol, UK
- x 157
-
- Halfling
- Posts: 45
- Joined: Tue Dec 08, 2009 9:18 am
Re: Cotire - CMake lib for speeding up build times
That looks absolutely great
It would be interesting how it fares on a non-trivial (involved) project.
It would be interesting how it fares on a non-trivial (involved) project.
-
- 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
I've never heard of this, but from the description it sounds very promising. Thanks for sharing the info on it!