Compile times can be affected by a large number of factors. Obviously the number of lines of code can be a factor, but the way the code is laid out and compiler options can have a massive effect. I've taken projects that took many minutes to compile and speed compile times up by a factor of 10 or more, just through proper use of things like pre-compiled headers and forward declarations (sorry if that's too much geek speak
).
I remember hearing that Windows NT took 19 hours to compile. Hopefully Stardock aren't approaching that yet...