[vtk-developers] Pending release... (precompiled headers)
Will Schroeder
will.schroeder at kitware.com
Sat Dec 9 07:26:54 EST 2000
Hi Folks-
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.
Will
>Speaking of "new release", is there any possibility that, in a near (or
>may be *very* near) future we might see the following 6 lines on top of
>all *.cxx files (right after the copyright issues, and before the #include) ?
>
>#ifdef USE_PCH
># ifdef _MSC_VER
># include "vtkPrecompiledHeaders.h"
># pragma hdrstop
># endif
>#endif
>
>It would be up to the user to provide a vtkPrecompiledHeaders.h file, and
>maybe an additional -I directive to find it in a specific place. As I
>said before, I already wrote a Perl script that build a
>vtkPrecompiledHeaders.h file made of #include directives corresponding to
>the most included headers.
More information about the vtk-developers
mailing list