Navigation

  • index
  • next |
  • previous |
  • CMake 4.0.4 »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_<LANG>_DEVICE_LINK_MODE
This documents an old version of CMake. Click here to see the latest release.

CMAKE_<LANG>_DEVICE_LINK_MODEΒΆ

Added in version 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.

Previous topic

CMAKE_<LANG>_COMPILER_RANLIB

Next topic

CMAKE_<LANG>_LINK_LIBRARY_SUFFIX

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • CMake 4.0.4 »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_<LANG>_DEVICE_LINK_MODE
© Copyright 2000-2025 Kitware, Inc. and Contributors. Created using Sphinx 7.3.7.