Hi Paul,

I'm sorry, I did a search IN MY MAIL BOX and didn't find anything... but you're 
right, I should have searched the whole archives first!

Well, to add a few details:
- AFAIK, if you put only STL (and system headers?) in the PCH, you can avoid 
having to recompile the whole project each time you change osg/Node. The 
speedup is of course less, but it compensates a bit the slowness of MSVC.
- The ".h" is automatically added to all .cpp files without having to change 
them (command line arg given in CMakeLists.txt). No special maintenance is to 
be made here.
- However, you still got the thing I described in the previous mail: MSVC 
submitters must be warned to build without PCH before submitting.

So maybe an OFF-by-default option would be fine? Anyway, I was just asking 
because I didn't find the thread... Silly me!
And after all I guess it's far less important than other submissions ;)

Cheers,

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

----- "Paul Martz" <[email protected]> a écrit :

> The pros and cons of this was discussed not too long ago in the thread
> 
> "Drastic build time speed-up using precompiled headers".
> 
> Paul Martz
> Skew Matrix Software LLC
> _http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
> +1 303 859 9466
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to