summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst
blob: 3d3c715339009adce8735380ca8ec8691bc0960c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CUDA_FATBIN_COMPILATION
-----------------------

.. versionadded:: 3.27

Compile CUDA sources to ``.fatbin`` files instead of ``.obj`` files
within :ref:`Object Libraries`.

For example:

.. code-block:: cmake

  add_library(myfbins OBJECT a.cu b.cu)
  set_property(TARGET myfbins PROPERTY CUDA_FATBIN_COMPILATION ON)