cudaWarp.cu and cudaKernels.cu integration

Hello,

I have a build problem regarding the integation between cudaWraps.cu (wraps for the kernels) file and the cudaKernels.cu (kernels)file,
its gives me a compilation error which says that the kernels were allready defined.

At the SDK project example they included the cudaKernels.cu file at the cudaWarp.cu one (#include cppIntegration_kernel.cu)
but when im doing that, i get an error massage which say that im trng to recompile the kernels in the cudaKernels.cu file.

Can you please advise?

Thanks!

maybe cudaKernels.cu is excluded from build for SDK example?

by
#ifndef ?