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!