Skip to main content

linker

Specifies the linker.

linker ("value")

Parameters

value is one of:

ValueDescriptionNotes
DefaultUse the toolset default linker.
LLDUse LLVM's LLD linkerSupported by GCC and Clang

Applies To

Project configurations.

Availability

Premake 5.0.0-beta3 or later.

Examples

Sets LLD as the linker.

filter { "toolset:clang" }
linker { "LLD" }