Navigation

  • index
  • next |
  • previous |
  • CMake 4.1.20250911-g9405493 »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_<LANG>_LINK_MODE

CMAKE_<LANG>_LINK_MODE¶

Added in version 4.0.

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

DRIVER

The compiler is used as driver for the link step.

LINKER

The linker is used directly for the link step.

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

See Also¶

  • The CMAKE_<LANG>_USING_LINKER_<TYPE> variable.

Table of Contents

  • CMAKE_<LANG>_LINK_MODE
    • See Also

Previous topic

CMAKE_<LANG>_LINK_LIBRARY_SUFFIX

Next topic

CMAKE_LINK_LIBRARY_SUFFIX

This Page

  • Show Source

Quick search

Navigation

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