Optimizing wxWidgets

Saving space

To save disk space, you may now delete the compiled object files. This does no harm, since they will be recreated if you compile again. In MSYS, type

cd $WXWIN
rm *.o

Improving compile time

You can "precompile" the wxWidgets header. This will save you compile time if - and only if - the #include <wx/wx.h> line is the first code line in your source file. To do that, type the following in MSYS:

cd $WXWIN
cd include/wx
g++ $(../../wx-config --cxxflags) wx.h