Skip to content

linkoptions

starkos edited this page Apr 10, 2021 · 7 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Passes arguments directly to the linker command line without translation.

linkoptions { "options" }

Parameters

options is a list of linker flags and options, specific to a particular linker.

Applies To

Project configurations.

Availability

Premake 4.0 or later.

Examples

Use pkg-config style configuration when building on Linux with GCC. Build options are always linker specific and should be targeted to a particular toolset.

configuration { "linux", "gmake" }
  linkoptions { "`wx-config --libs`" }
Clone this wiki locally