problem of cuda compilation problem of cuda compilation on code Blocks

hello,

i would like compile a cuda project on the editor code-blocks, but it seems that code-blocks doesn’t recognise .cu files, is there someway to use codeblocks with cuda ??