It should already support cuda run time building by default.  This is what
the OBJ target is for CUDA_WRAP_SRCS.  This is what cuda_add_library and
cuda_add_executable do.


On Fri, Apr 18, 2014 at 5:18 AM, Tobias Zirr <opensou...@alphanew.net>wrote:

> Hello,
>
> I just added CUBIN & FATBIN compilation support to the FindCUDA module
> provided with the official CMake package. Up to now, the module has been
> restricted to compiling JIT/PTX cuda modules for device-only compilation
> and run-time module loading.
>
> The modified FindCUDA module is based on the latest version from the
> repository. Since I am unfamiliar with CMake's development infrastructure,
> I will simply submit it here, in hope that it either finds its way or
> results in additional directions being given.
>
> Best regards,
>  Tobias
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to