Using CodeBlocks instead of Visual Studio

Hi all,

I’d like to know if there’s an easy way to compile and use Cocos2d-x with Code::Blocks, the main reason is that I’d like switching from Visual Studio C++ 2010 Express to CB. Some will probably tell me to switch to VS 2012, but I’d like to know if anyone has a working solution.

Thanks in advance