CUDA makefile on Windows

I had some experience with CUDA on Linux. Now I need to work with CUDA on Windows. I am wondering if there exists a good template for building CUDA programs (makefile, for instance) with both release and debug configurations. My purpose is to have a template to learn how to systematically configure build scripts. I understand that NVCC documentation may be a good source for details, but a general template helps me organize what details to look for. Thanks.