I have a Microsoft Foundation Classes program and I want to include CUDA on it. It is not a CUDA project (obvious). Can you give the procedure, the libraries to include etc? Or some example project of Visual C++ that do it?
Right click on the source file in Solution Explorer and select Properties. Then set it up for Custom Build Tool. Configure the Command Line to be the nvcc command line you want to use. Etc.