The *.pch should only be created if the headers have changed, so I'd created a Makefile (precompiled.mk) for this purpose and add "make -f precompiled.mk" pre-build-command (only if the performance gain from the precompiled headers is more than you suffer from an additional make-invocation).
Would be cool to have a way to define generation rules for derived files and for sure, especially support for telling CDT to create and automatically update pch-files.
I'm not very experienced, so I wonder why I should bother about precompiled at all? Will the app run faster or only the compilation?
The file looks as below. How could I include that as normal header?
* Created by Seb on 03/01/06.
* Copyright 2006 The Old Game Factory. All rights reserved.
// Standard headers
// API headers
#include "OpenGL/glu.h" // Mac OS X OpenGL header location
//#include "GL/glu.h" // Other platforms OpenGL header location