Copy the directory stm8 to the wizard directory of code::blocks.
Add this entry:
RegisterWizard(wizProject, _T("stm8"), _T("STM8 Project"), _T("Embedded Systems"));
after the entry for mcs51.
Wizard directory for stm8 projects using SDCC for the code::blocks IDE
CMIT