Frogboy Frogboy

Incredibuild is incredible

Incredibuild is incredible

image

My god this is cool.

76,111 views 31 replies
Reply #26 Top

@Ron Lugge - don't worry - if you're pile of things to read isn't huge and overflowing you're not working hard enough :)

@LDiCesare - I'm not saying pre-compiled headers are a win in every case - the scenario you talk about is one were I wouldn't use a pre-compiled header.  However when a lot of your C++ files are including, say, Windows.h and a bunch of system / STL headers then there can be massive time savings using pre-compiled headers.  I've seen minute long compiles go down to just a few seconds this way.

Reply #27 Top

Yes, pch are good in the case of something like the main of the game. Just be careful with them for libraries.

Reply #28 Top

@CariElf - but surely a pre-compiled header can still save you time? Otherwise every C++ file that includes (say) Windows.h has to recompile it, rather than just once per build?

I'll give it a shot.  We actually have the code already setup so that everything is including a certain header file which has all our standard includes in it.  Maybe the pre-compiled headers just weren't setup correctly before.

Reply #29 Top

This IncrediBuild thing reminds me of some software WETA uses.  Basically they turn all of their graphic artists' workstations into a great big virtualized rendering farm at night.

Reply #31 Top

Brad, you have an 8 core machine? That's insane!