Back to Cmake

CMAKE_<LANG>_DEVICE_LINK_MODE

Help/variable/CMAKE_LANG_DEVICE_LINK_MODE.rst

4.3.2352 B
Original Source

.. versionadded:: 4.0

Defines how the device link step is done. The possible values are:

DRIVER The compiler is used as driver for the device link step.

LINKER The linker is used directly for the device link step.

This variable is read-only. Setting it is undefined behavior.