Greetings.
I’m not able to cross-compile an application with a combination of both .cu and .cpp files. I have a target file system, a toolchain and am able to cross-compile official samples. But I can’t build the project with CMake and a toolchain file. What’s interesting, if I remove all .cpp files leaving only .cu everything works fine. And vice versa.
I would really appreciate it if someone could share their config.
Thank you.