Back to Cmake

CMAKE_<LANG>_COMPILER_LINKER_ID

Help/variable/CMAKE_LANG_COMPILER_LINKER_ID.rst

4.4.01.6 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 =============================== =============================================== AIX AIX system linker 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 Solaris SunOS system linker WILD wild_ linker OpenWatcom OpenWatcom wlink_ 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 .. _wild: https://github.com/wild-linker/wild .. _OpenWatcom wlink: https://www.openwatcom.com/