KDevelop for CUDA

Hey, everyone.
I want to use KDevelop for CUDA, but I don’t know how to configure it. I have tried many times. I just add the “*.cu” style to KDevelop, but not sure. I don’t know how to link ‘nvcc’ compiler to the project.
Could you help me? Thanks a lot.

Thank you for your great help. I will try it.