CUDA_FATBIN_COMPILATION — CMake 4.0.1 Documentation (original) (raw)
Added in version 3.27.
Compile CUDA sources to .fatbin
files instead of .obj
files within Object Libraries.
For example:
add_library(myfbins OBJECT a.cu b.cu) set_property(TARGET myfbins PROPERTY CUDA_FATBIN_COMPILATION ON)