Hi there,

I wonder if a mixed compilation of both CUDA C code (nvcc compiler) and ordinary C++ code (any compiler) is possible. Formerly, I compiled the sources separately and then linked them together, which works fine. I know there's a CUDA module for cmake, but it only offers a command to build a executable from cuda code, but not mixed object files.

Any advice would be highly appreciated.

Thanks a lot,
Christian
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to