I thought we had a tutorial for that in the FAQ, but I did remove some dead links the other day. Anyway, the easiest way I found to do it is to use an existing mod as a base, changing all the files to suit your mod etc. Then once you have all the files you can compile it to a cuh file from within CSM. Meanwhile someone more knowledgeable than I may jump in here and give you more info.
[
www.mediafire.com] Some say you should click it, you know you want to.
[
www.gp4central.com] <----GP4 Central