Re: [GD-General] Compile times
Brought to you by:
vexxed72
From: Noel L. <ll...@co...> - 2002-12-10 14:02:00
|
On Mon, 09 Dec 2002 18:39:37 -0600 Chris Carollo <cca...@io...> wrote: > Quake2: > .c - 188 files, 3.9MB > .h - 78 files, 0.6MB >=20 > Our codebase (which includes the editor, and admittedly a ton of code=20 > that could use some re-engineering/stripping): > .cpp - 1188 files, 14.6MB > .h - 1450 files, 5.8MB For another data point, our code base for MechAssault was: =2Ecpp - 1164 files (13.2 MB) =2Eh - 1291 files (3.5 MB) Game-specific code and engine code are split exactly half and half (it just worked that way). So considering that it's roughly one order of magnitude larger than the Quake 2 source code, our full compile times (around 15 minutes) are not totally out of line. Still, I'd like them to be shorter, and especially the link times, which is the most important thing for iterative programming. I imagine using incremental linking with VC7 will help, but every time I've tried it we've had problems and had to turn it off. --Noel |