Re: [CMake] Question about add_custom_command

2010-09-11 Thread Michael Hertling
On 09/10/2010 05:25 PM, Ingolf Steinbach wrote: > 2010/9/10 Michael Wild : >>> Does this also create dependencies on the multitude of header files >>> included by the .c files in SRCS (which would probably be desired in >>> case of the OP)? >>> >>> Ingolf >> >> No, it will not. But usually you have

Re: [CMake] FindCUDA - creating .ptx and .cubin files as final build target

2010-09-11 Thread Alex G
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > Alex, thanks for your interest. There is an option called > CUDA_BUILD_CUBIN, which builds the cubin along with the OBJ file, but it > appears to be disabled for PTX compilation. I'm not exactly sure why, > and I even wrote it! > > I'm in the