How to minimize compilation time in C++
<p>I've coded an script that generates a header file with constants like version, svn tag, build number. Then, I have a class that creates a string with this information.</p>

<p>My problem is the following: As the file is created in every compilation, the compiler detects that the header has changed, and forces the recompilation of a large number of files. I guess that the problem is in the situation of the header file. My project is a library and header has to be in the "interface to the world" header file (it must to be public).</p>

<p>I need some advice to minimize this compilation time or to reduce the files forced to recompile.</p>
