Re: [CMake] About the FindCUDA.cmake module ande Separate Compilation

2014-07-23 Thread James Bigler
The CUDA_NVCC_FLAGS variable is a list not a string. You also have to turn CUDA_SEPARABLE_COMPILATION on. Try this list(APPEND CUDA_NVCC_FLAGS -gencode arch=compute_30,code=sm_30 -rdc=true) set( CUDA_SEPARABLE_COMPILATION ON) On Thu, Jul 17, 2014 at 8:07 AM, Notargiacomo Thibault wrote: > De

[CMake] About the FindCUDA.cmake module ande Separate Compilation

2014-07-17 Thread Notargiacomo Thibault
Dear All I am a user of cmake build system and its differents modules, that were very helpful in the past. But I met some specific issues with the FindCUDA.cmake module, for about a year now. Especially about the Separate Compilation feature, that never worked for me, I previously had to bypass