blob: f8860aeda3df2da13f65b4103de96ab2749ca93a [file] [log] [blame]
CUDA_CUBIN_COMPILATION
----------------------
.. versionadded:: 3.27
Compile CUDA sources to ``.cubin`` files instead of ``.obj`` files
within :ref:`Object Libraries`.
For example:
.. code-block:: cmake
add_library(mycubin OBJECT a.cu b.cu)
set_property(TARGET mycubin PROPERTY CUDA_CUBIN_COMPILATION ON)