Building an Non-Unicode Win32 Code::Blocks
From Code::Blocks
Prerequisites
Working Code::Blocks
Code::Blocks Source Code
Non-Unicode build of wxWidgets
GnuWin32 sed.exe
http://gnuwin32.sourceforge.net/packages.html
Modifying Code::Blocks project files
sed script file
ANSI.sed
s/<Variable name="WX_SUFFIX" value="u" \/>/<Variable name="WX_SUFFIX" value="" \/>/g s/<Add option="-DwxUSE_UNICODE" \/>$/<Add option="-DwxUSE_UNICODE=0" \/>$/g s/<Add option="-DwxUSE_UNICODE=1" \/>$/<Add option="-DwxUSE_UNICODE=0" \/>$/g