[vtk-developers] Pending release... (precompiled headers)
sebastien at barre.nom.fr
Sat Dec 9 07:28:59 EST 2000
At 09/12/2000 07:26, Will Schroeder wrote:
>I'd suggest NOT doing this. I am resisting the tendency to add more
>"specialized code" relating to OS or compiler. This sort of code has a
>tendency to get out of hand very quickly, and soon the code doesn't look
>like C++ any more. Simple is good, clean is good.
OK, you're the boss :), but these 6 lines are very "controllable" indeed
:), I do not see side-effects for the moment, but you are right, who
knows... Anyway, this speed up compilation by a factor of 2 to 3, which I
thought was worth using it, especially for these of us working with the
CVS. I know this is specialized code, but the Windows platform is
important, and I guess 90% of the Windows users are using MSVC++. There is,
sadly, no other place to put it other than on top of each *.cxx.
More information about the vtk-developers