cmake/Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst

15 lines
318 B
ReStructuredText
Raw Normal View History

2023-07-02 19:51:09 +02:00
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)