Hello!
 
gcc has the ability to have the same header file precompiled for different targets (for example debug and release), and put in a directory, named like precompiled.h.gch. The compiler will automatically find a suitable .gch file in that directory when looking for the .gch file.
 
Is it possible to use that feature with cpp-pch in boost.build? If so, how? If not, how should that situation be handled? Now, if there exists a debug version of the .gch file and I compile for release, there will be a warning that the .gch file is compiled with different settings, and the precompiled file will not be used.
 
Thanks,
Dag


Get news, entertainment and everything you care about at Live.com. Check it out!