CUDA compilation, MPC and Visual Studio 2005 (vc8)

I am using MPC (MakeProjectCreator) to create Visual Studio 2005 files (vcproj). My library now containa CUDA file so I need to create a custom build rule so it will invoke the CUDA compiler. Does anyone know how to do this in MPC please?

I don’t know straight answer on your question.
But you can use cuda.rules file for your .cu file (C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\common\Cuda.Rules)