[CMake] CUDA OBJECT libraries?
JR Cary
cary at txcorp.com
Wed Jun 17 11:01:21 EDT 2015
I would like to use OBJECT libraries with CUDA.
If I try
cuda_add_library(foo OBJECT <some .cpp files> <some .cu files>)
I get
CMake Error at
/opt/contrib-clangcxx11/cmake-3.2.2-ser/share/cmake-3.2/Modules/FindCUDA.cmake:1518
(add_library):
OBJECT library "txsbaseobj" contains:
txsbaseobj_generated_TxsGpuInterpolator.cu.o
txsbaseobj_generated_TxsBaseTestKernels.cu.o
txsbaseobj_intermediate_link.o
Is there a standard way of dealing with this?
Thx.......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150617/c93233b2/attachment.html>
More information about the CMake
mailing list