Is it exlicitly described in the doc that Modern CMake will only compile `.cu` files with `nvcc`?

songyuc
Fri, 25 Nov 2022 12:51:33 +0000
Code

Hi, guys,
I am a learner of CMake, and I find that CMake would only compile .cu files with nvcc, except any files with the other extensions.
Is this rule exlicitly described in the CMake documentation?
Currently, I have not been able to find relevant content.

Your answer and sharing will be appreciated!

4 posts - 3 participants