[CMake] Mixed compilation of CUDA C and C++ code
Christian Guckelsberger
info at abyi.com
Sun Oct 14 09:59:34 EDT 2012
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
More information about the CMake
mailing list