CMAKE_<LANG>_DEVICE_LINK_MODE¶
在 4.0 版被加入.
Defines how the device link step is done. The possible values are:
DRIVERThe compiler is used as driver for the device link step.
LINKERThe linker is used directly for the device link step.
This variable is read-only. Setting it is undefined behavior.