So, I can turn on the pch feature when building c::b against wx3.x, anyone knows a simple patch to enable pch on the windows C::B wx30 cbp file?
Just compare the wx28 and wx30 CBP file:
Its basically:
1.) Enable the warning -Winvalid-pch
2.) remove the
NOPCH #define
3.) Add the
CB_PRECOMP and
WX_PRECOMP #define.
4.) Enable compilation of include/sdk.h and include/sdk_precomp.h
...that should be pretty much it. unfortunately you have to do it for
all WX30 files... but for the beginning, the SDK, Core and wxSmithXXX might be well enough to speed up compiling a lot.
don't forget to do a
re-build.