This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/linkoptions.md
2021-03-12 22:10:24 +01:00

568 B

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`" }