Back to Cmake

CMAKE_<LANG>_COMPILER_LINKER_ID

Help/variable/CMAKE_LANG_COMPILER_LINKER_ID.rst

4.3.21.4 KB
Original Source

CMAKE_<LANG>_COMPILER_LINKER_ID

.. versionadded:: 3.29

Linker identification string.

A short string unique to the linker vendor. Possible values include:

=============================== =============================================== Value Name =============================== =============================================== AppleClang Apple Clang LLD LLVM LLD_ GNU GNU Binutils - ld linker_ (also known as bfd) GNUgold GNU Binutils - gold linker_ MSVC Microsoft Visual Studio_ MOLD mold: A Modern Linker, or on Apple the sold linker AIX AIX system linker Solaris SunOS system linker =============================== ===============================================

This variable is not guaranteed to be defined for all linkers or languages.

.. _LLVM LLD: https://lld.llvm.org .. _GNU Binutils - ld linker: https://sourceware.org/binutils .. _GNU Binutils - gold linker: https://sourceware.org/binutils .. _Microsoft Visual Studio: https://visualstudio.microsoft.com .. _mold: A Modern Linker: https://github.com/rui314/mold .. _sold: https://github.com/bluewhalesystems/sold