summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst')
-rw-r--r--Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst b/Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst
new file mode 100644
index 0000000000..3d3c715339
--- /dev/null
+++ b/Help/prop_tgt/CUDA_FATBIN_COMPILATION.rst
@@ -0,0 +1,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)